summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/InfoDropTarget.java
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2013-06-11 14:45:48 -0400
committerDaniel Sandler <dsandler@android.com>2013-06-11 22:01:47 -0400
commitcc8befac3550c81d04ea206c170adae36c9a6c93 (patch)
tree844f01e8fe09b157fb39d74b3195e934a3e6a271 /src/com/android/launcher3/InfoDropTarget.java
parentecf33e4819d0c4b019706edd456ed14a6a0f200c (diff)
downloadpackages_apps_Trebuchet-cc8befac3550c81d04ea206c170adae36c9a6c93.tar.gz
packages_apps_Trebuchet-cc8befac3550c81d04ea206c170adae36c9a6c93.tar.bz2
packages_apps_Trebuchet-cc8befac3550c81d04ea206c170adae36c9a6c93.zip
Move LauncherApplication's state and code to LauncherAppState.
This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
Diffstat (limited to 'src/com/android/launcher3/InfoDropTarget.java')
-rw-r--r--src/com/android/launcher3/InfoDropTarget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/InfoDropTarget.java b/src/com/android/launcher3/InfoDropTarget.java
index 9f1b0169c..4db83184f 100644
--- a/src/com/android/launcher3/InfoDropTarget.java
+++ b/src/com/android/launcher3/InfoDropTarget.java
@@ -58,7 +58,7 @@ public class InfoDropTarget extends ButtonDropTarget {
// Remove the text in the Phone UI in landscape
int orientation = getResources().getConfiguration().orientation;
if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
- if (!LauncherApplication.isScreenLarge()) {
+ if (!LauncherAppState.isScreenLarge()) {
setText("");
}
}