Moving LauncherAccessibilityDelegate to Launcher to associate it with

activity lifecycle.

Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a
This commit is contained in:
Sunny Goyal
2016-06-17 08:43:56 -07:00
parent bb011dad4e
commit ae50284e0a
11 changed files with 21 additions and 33 deletions

View File

@@ -312,8 +312,7 @@ public abstract class ButtonDropTarget extends TextView
@Override
public void onClick(View v) {
LauncherAppState.getInstance().getAccessibilityDelegate()
.handleAccessibleDrop(this, null, null);
mLauncher.getAccessibilityDelegate().handleAccessibleDrop(this, null, null);
}
public int getTextColor() {