summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-04-05 18:39:24 -0700
committerRomain Guy <romainguy@google.com>2010-04-05 18:39:24 -0700
commit3af600182f200b52ac93897061efb4896dd3ea8e (patch)
tree2f77a6d8464be07d5707cebb921fc4955b9712da /proguard.flags
parent327a9a3a309eeda5bdc18281066f2e19236455bc (diff)
downloadandroid_packages_apps_Trebuchet-3af600182f200b52ac93897061efb4896dd3ea8e.tar.gz
android_packages_apps_Trebuchet-3af600182f200b52ac93897061efb4896dd3ea8e.tar.bz2
android_packages_apps_Trebuchet-3af600182f200b52ac93897061efb4896dd3ea8e.zip
Last minute hack to deliver touch events to widget in landscape mode.
Bug #2562729 In landscape, the left and right dots buttons are 93dip wide; this makes them overlap with widgets at the bottom of the screen. The dots do not need to be that wide but we chose this size to make it easier to tap them in portrait. To avoid issues in landscape, this change introduces a new type of ImageView that can ignore touch events in a certain zone. This was easier and cheaper than re-cutting 36+ assets. Change-Id: Id261fba41a43dede943e72060e39e87658e4b0df
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags4
1 files changed, 4 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
index 5d72ef32b..255f97050 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -6,3 +6,7 @@
-keep class com.android.launcher2.AllApps3D$Defines {
*;
}
+
+-keep class com.android.launcher2.ClippedImageView {
+ *;
+}