diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2021-09-22 19:59:46 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-09-22 19:59:46 +0000 |
| commit | b1acc90fc8b1e95a7b6ad70798ed56e614a043dd (patch) | |
| tree | 3bbcc9a44dbc84cfdaf7a86495ef1f54175dcae2 /core/java | |
| parent | e86123e6d048a347099ad3f7d0798e90ef44420a (diff) | |
| parent | aecd865d065baa802f3f1aafb29c4506edcb1553 (diff) | |
Merge "Revert "Make DreamActivity translucent when waking up dream""
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/service/dreams/DreamService.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/java/android/service/dreams/DreamService.java b/core/java/android/service/dreams/DreamService.java index 491a5f9b35db..a47c3b188b79 100644 --- a/core/java/android/service/dreams/DreamService.java +++ b/core/java/android/service/dreams/DreamService.java @@ -920,13 +920,6 @@ public class DreamService extends Service implements Window.Callback { if (!mWaking && !mFinished) { mWaking = true; - // During wake up the activity should be translucent to allow the application underneath - // to start drawing. Normally, the WM animation system takes care of this, but here we - // give the dream application some time to perform a custom exit animation. - // If it uses a view animation, the WM doesn't know about it and can't make the activity - // translucent in the normal way. Therefore, here we ensure that the activity is - // translucent during wake up regardless of what animation is used in onWakeUp(). - mActivity.convertToTranslucent(null, null); // As a minor optimization, invoke the callback first in case it simply // calls finish() immediately so there wouldn't be much point in telling |
