summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherAppState.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/LauncherAppState.java')
-rw-r--r--src/com/android/launcher3/LauncherAppState.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java
index d87ad67e5..d515f05e5 100644
--- a/src/com/android/launcher3/LauncherAppState.java
+++ b/src/com/android/launcher3/LauncherAppState.java
@@ -174,6 +174,10 @@ public class LauncherAppState {
return mInvariantDeviceProfile;
}
+ public void initInvariantDeviceProfile() {
+ mInvariantDeviceProfile = new InvariantDeviceProfile(sContext);
+ }
+
public static boolean isDogfoodBuild() {
return getInstance().mBuildInfo.isDogfoodBuild();
}