commit | ae50284e0a838139c67caf0064a0977c871497fa | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Fri Jun 17 08:43:56 2016 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Fri Jun 17 08:44:51 2016 -0700 |
tree | 45147a676bc32b604a9c64808a3a836de748e3a4 | |
parent | bb011dad4e69bec027be1e00d573a3095b318b43 [diff] [blame] |
Moving LauncherAccessibilityDelegate to Launcher to associate it with activity lifecycle. Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a
diff --git a/src/com/android/launcher3/ButtonDropTarget.java b/src/com/android/launcher3/ButtonDropTarget.java index 61ac713..5a4ed2f 100644 --- a/src/com/android/launcher3/ButtonDropTarget.java +++ b/src/com/android/launcher3/ButtonDropTarget.java
@@ -312,8 +312,7 @@ @Override public void onClick(View v) { - LauncherAppState.getInstance().getAccessibilityDelegate() - .handleAccessibleDrop(this, null, null); + mLauncher.getAccessibilityDelegate().handleAccessibleDrop(this, null, null); } public int getTextColor() {