Merge "Removing LauncherApplication to enable us to easily catch LauncherAppState errors" into ub-launcher3-burnaby

This commit is contained in:
Sunny Goyal authored and Android (Google) Code Review committed 2015-06-08 23:05:31 +00:00
commit 208aba2dfd
3 files changed
-36

No files matched your search

-1
View File
@@ -465,7 +465,6 @@ public class Launcher extends Activity
app.getInvariantDeviceProfile().landscapeProfile
: app.getInvariantDeviceProfile().portraitProfile;
// the LauncherApplication should call this, but in case of Instrumentation it might not be present yet
mSharedPrefs = getSharedPreferences(LauncherAppState.getSharedPreferencesKey(),
Context.MODE_PRIVATE);
mIsSafeModeEnabled = getPackageManager().isSafeMode();