summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ian Lake <ilake@google.com> 2017-04-18 10:45:37 -0700
committer Ian Lake <ilake@google.com> 2017-04-19 10:43:49 -0700
commit146c01daf8f87e24e9a7f9718a90c7930c202d89 (patch)
tree55eee0dc414945dec883d090b4b8228a02e19f05
parentb759bd3b4add402ac54e008de0d59bed94abefc7 (diff)
Rely on view animations for ResolverActivity
The ResolverActivity (and its subclass ChooserActivity) already have view animations for animating the share sheet. Disable the windowEnter/ExitTransition to ensure that there's just a single animation running. Test: visual inspection of the transition BUG: 34234073 Change-Id: I51f6d4d6388e965a4f7efb532f936c207623f938
-rw-r--r--core/res/res/values/themes_device_defaults.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/res/res/values/themes_device_defaults.xml b/core/res/res/values/themes_device_defaults.xml
index e0b4ec5027bb..d80ff1d1e313 100644
--- a/core/res/res/values/themes_device_defaults.xml
+++ b/core/res/res/values/themes_device_defaults.xml
@@ -794,6 +794,8 @@ easier.
<!-- Theme used for the intent picker activity. -->
<style name="Theme.DeviceDefault.Resolver" parent="Theme.Material.Light">
+ <item name="windowEnterTransition">@empty</item>
+ <item name="windowExitTransition">@empty</item>
<item name="windowIsTranslucent">true</item>
<item name="windowNoTitle">true</item>
<item name="windowBackground">@color/transparent</item>