diff options
Diffstat (limited to 'src/com/android/launcher3/UninstallShortcutReceiver.java')
-rw-r--r-- | src/com/android/launcher3/UninstallShortcutReceiver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/UninstallShortcutReceiver.java b/src/com/android/launcher3/UninstallShortcutReceiver.java index 6bc289a5e..eb43fc959 100644 --- a/src/com/android/launcher3/UninstallShortcutReceiver.java +++ b/src/com/android/launcher3/UninstallShortcutReceiver.java @@ -81,12 +81,12 @@ public class UninstallShortcutReceiver extends BroadcastReceiver { private static void processUninstallShortcut(Context context, PendingUninstallShortcutInfo pendingInfo) { - String spKey = LauncherApplication.getSharedPreferencesKey(); + String spKey = LauncherAppState.getSharedPreferencesKey(); SharedPreferences sharedPrefs = context.getSharedPreferences(spKey, Context.MODE_PRIVATE); final Intent data = pendingInfo.data; - LauncherApplication app = (LauncherApplication) context.getApplicationContext(); + LauncherAppState app = LauncherAppState.getInstance(); synchronized (app) { removeShortcut(context, data, sharedPrefs); } |