diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-05-21 20:46:33 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-05-22 08:46:41 -0700 |
commit | c6205603efe1f2987caf96504c87d720a25b5a94 (patch) | |
tree | 19a1c13def0784a3f3edc1e69aab87251820cbcf /src/com/android/launcher3/LauncherAppState.java | |
parent | 2805e639cdea6ae0051155611d122ed27556e658 (diff) | |
download | android_packages_apps_Trebuchet-c6205603efe1f2987caf96504c87d720a25b5a94.tar.gz android_packages_apps_Trebuchet-c6205603efe1f2987caf96504c87d720a25b5a94.tar.bz2 android_packages_apps_Trebuchet-c6205603efe1f2987caf96504c87d720a25b5a94.zip |
Creating landscape and portrait device profiles at app initialization
Change-Id: Ide9d007adc36b348e19b05cdf49e87f8b02db60e
Diffstat (limited to 'src/com/android/launcher3/LauncherAppState.java')
-rw-r--r-- | src/com/android/launcher3/LauncherAppState.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/com/android/launcher3/LauncherAppState.java b/src/com/android/launcher3/LauncherAppState.java index 93753a201..d4b41e671 100644 --- a/src/com/android/launcher3/LauncherAppState.java +++ b/src/com/android/launcher3/LauncherAppState.java @@ -16,7 +16,6 @@ package com.android.launcher3; -import android.annotation.TargetApi; import android.app.SearchManager; import android.content.ComponentName; import android.content.Context; @@ -24,12 +23,7 @@ import android.content.Intent; import android.content.IntentFilter; import android.content.res.Configuration; import android.content.res.Resources; -import android.graphics.Point; -import android.os.Build; -import android.util.DisplayMetrics; import android.util.Log; -import android.view.Display; -import android.view.WindowManager; import com.android.launcher3.accessibility.LauncherAccessibilityDelegate; import com.android.launcher3.compat.LauncherAppsCompat; @@ -38,7 +32,7 @@ import com.android.launcher3.util.Thunk; import java.lang.ref.WeakReference; -public class LauncherAppState implements DeviceProfile.DeviceProfileCallbacks { +public class LauncherAppState { private final AppFilter mAppFilter; private final BuildInfo mBuildInfo; @@ -213,11 +207,6 @@ public class LauncherAppState implements DeviceProfile.DeviceProfileCallbacks { return mInvariantDeviceProfile; } - @Override - public void onAvailableSizeChanged(DeviceProfile grid) { - Utilities.setIconSize(grid.iconSizePx); - } - public static boolean isDogfoodBuild() { return getInstance().mBuildInfo.isDogfoodBuild(); } |