diff options
author | Michael Wright <michaelwr@google.com> | 2017-06-06 22:01:20 +0100 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2017-06-06 22:08:53 +0100 |
commit | 640666fcfd4f40ba69dbe459adea7b31407209ac (patch) | |
tree | 3dd537e26fde8250cd9da93480908d44d7468c5a /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | 4deefdbe7aaad6d8e2db0bf4235213d3d376cf45 (diff) |
Actually wait until the display is ready.
When this was rewritten to only wait for display state changes and not
brightness changes, it forgot to take into account whether a change was
already in flight when reporting whether a change was happening. Fix
that so the display appropriately reports when it's ready and when it's
blocked.
Bug: 32559368
Test: Take systrace of device wakeup, see it actually waits until the
display is actually ready
Change-Id: Ie3bd5c48d109a0fb2628ccc8f67bb52be51fad5c
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions