summaryrefslogtreecommitdiffstats
path: root/core/java/android/app/Activity.java
diff options
context:
space:
mode:
authorFilip Gruszczynski <gruszczy@google.com>2014-11-21 10:13:59 +0000
committerandroid-build-merger <android-build-merger@google.com>2014-11-21 10:13:59 +0000
commita83c5806ded083f51549ba4bf70e0c1f6a17fc61 (patch)
treefa7a06623304c0e0be667a759ef2db4b89b01956 /core/java/android/app/Activity.java
parentd3e2fd99e23ca579d22508e40e4f58282ea7279e (diff)
parent96c5d37fb5139465cdd3d882b5deba830497557a (diff)
downloadframeworks_base-a83c5806ded083f51549ba4bf70e0c1f6a17fc61.zip
frameworks_base-a83c5806ded083f51549ba4bf70e0c1f6a17fc61.tar.gz
frameworks_base-a83c5806ded083f51549ba4bf70e0c1f6a17fc61.tar.bz2
Merge "SwipeDismissLayout makes activity opaque only after entry animation ends." into lmp-sprout-dev
automerge: 96c5d37 * commit '96c5d37fb5139465cdd3d882b5deba830497557a': SwipeDismissLayout makes activity opaque only after entry animation ends.
Diffstat (limited to 'core/java/android/app/Activity.java')
-rw-r--r--core/java/android/app/Activity.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index 148527f..fab88a2 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -5620,6 +5620,16 @@ public class Activity extends ContextThemeWrapper
}
/**
+ * @hide
+ */
+ public void dispatchEnterAnimationComplete() {
+ onEnterAnimationComplete();
+ if (getWindow() != null && getWindow().getDecorView() != null) {
+ getWindow().getDecorView().getViewTreeObserver().dispatchOnEnterAnimationComplete();
+ }
+ }
+
+ /**
* Adjust the current immersive mode setting.
*
* Note that changing this value will have no effect on the activity's