summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/LauncherApplication.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2011-10-25 21:38:29 -0700
committerAdam Cohen <adamcohen@google.com>2011-10-26 14:08:19 -0700
commit3371da0159cc54ff8ae1b1b26effb96445f208d5 (patch)
treeaac9f398c475f14c802370e827c44973fd9cc21e /src/com/android/launcher2/LauncherApplication.java
parentf060868dd6ca8fb2f199fefd5cbb19a75ac2c108 (diff)
downloadandroid_packages_apps_Trebuchet-3371da0159cc54ff8ae1b1b26effb96445f208d5.tar.gz
android_packages_apps_Trebuchet-3371da0159cc54ff8ae1b1b26effb96445f208d5.tar.bz2
android_packages_apps_Trebuchet-3371da0159cc54ff8ae1b1b26effb96445f208d5.zip
Initial changes to make folders accessible
Change-Id: Id8c9cbc0ef200967c3b966fbccfdfde184d4211c
Diffstat (limited to 'src/com/android/launcher2/LauncherApplication.java')
-rw-r--r--src/com/android/launcher2/LauncherApplication.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/launcher2/LauncherApplication.java b/src/com/android/launcher2/LauncherApplication.java
index 755168cab..6c8ba2425 100644
--- a/src/com/android/launcher2/LauncherApplication.java
+++ b/src/com/android/launcher2/LauncherApplication.java
@@ -25,6 +25,8 @@ import android.content.IntentFilter;
import android.content.res.Configuration;
import android.database.ContentObserver;
import android.os.Handler;
+import android.view.accessibility.AccessibilityEvent;
+import android.view.accessibility.AccessibilityManager;
import java.lang.ref.WeakReference;
@@ -40,7 +42,8 @@ public class LauncherApplication extends Application {
super.onCreate();
// set sIsScreenXLarge and sScreenDensity *before* creating icon cache
- final int screenSize = getResources().getConfiguration().screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
+ final int screenSize = getResources().getConfiguration().screenLayout &
+ Configuration.SCREENLAYOUT_SIZE_MASK;
sIsScreenLarge = screenSize == Configuration.SCREENLAYOUT_SIZE_LARGE ||
screenSize == Configuration.SCREENLAYOUT_SIZE_XLARGE;
sScreenDensity = getResources().getDisplayMetrics().density;