diff options
author | Craig Mautner <cmautner@google.com> | 2015-03-05 17:41:23 -0800 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2015-03-05 17:41:23 -0800 |
commit | a75e3e0b44e31ee5d042480d3da8d13cad56dc5a (patch) | |
tree | f908a2608fc9a7bc623a34a2707b7a67edfc4b64 /services/backup | |
parent | f834c282aa37115f94e8cc3aee43d05a90d3e0e0 (diff) | |
download | frameworks_base-a75e3e0b44e31ee5d042480d3da8d13cad56dc5a.zip frameworks_base-a75e3e0b44e31ee5d042480d3da8d13cad56dc5a.tar.gz frameworks_base-a75e3e0b44e31ee5d042480d3da8d13cad56dc5a.tar.bz2 |
Add a timeout state to frozen windows
When an activity stops drawing following a rotation the rotation
screenshot would become stuck on top of all the other windows. The
timeout was being acknowledged but mWindowsFreezingScreen was set to
true which kept stopFreezingDisplayLocked() from dismissing the
screen rotation animation.
By changing mWindowsFreezingScreen from a two state variable to a
three state variable, including a timeout state we allow
stopFreezingDisplayLocked() to continue and dismiss the screen
rotation animtion.
This change also reduces the APP_FREEZING_TIMOEOUT from 5 seconds to
2 seconds.
Fixes bug 19595913.
Change-Id: Ida5aca002a82ec8fe1ea99f0ced814c5c8f01a95
Diffstat (limited to 'services/backup')
0 files changed, 0 insertions, 0 deletions