summaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-05-22 11:20:16 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-05-22 11:40:58 -0700
commit0bd0244a73cc0b6dc40156fd707f402bb53d5dba (patch)
treefbc095ea389cae698f5e4ea1bbea5c46a45b62aa /proguard.flags
parent8417a7b5140bf6dd27702331e787887a7b8c2e3d (diff)
downloadandroid_packages_apps_Trebuchet-0bd0244a73cc0b6dc40156fd707f402bb53d5dba.tar.gz
android_packages_apps_Trebuchet-0bd0244a73cc0b6dc40156fd707f402bb53d5dba.tar.bz2
android_packages_apps_Trebuchet-0bd0244a73cc0b6dc40156fd707f402bb53d5dba.zip
Reset the vertical progress when the discovery bounce is closed
Since discovery bounce runs on absolute values, it can sometime leave the vertical progress at an old value, if it is closed after the state change. Also simplifying discovery bounce animation to use xml everytime. Bug: 80099242 Change-Id: Iebc249dd02f474cbed85b695eeeb8c2bf60b935d
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags6
1 files changed, 6 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
index e9f6db462..555d13e44 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -120,6 +120,12 @@
*;
}
+# Discovery bounce animation
+-keep class com.android.launcher3.allapps.DiscoveryBounce$VerticalProgressWrapper {
+ public void setProgress(float);
+ public float getProgress();
+}
+
# BUG(70852369): Surpress additional warnings after changing from Proguard to R8
-dontwarn android.app.**
-dontwarn android.view.**