summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2015-03-05 17:41:23 -0800
committerWale Ogunwale <ogunwale@google.com>2015-04-07 09:14:36 -0700
commit3aacbbc02542a9694c706d02aa48b7bca1a8e3eb (patch)
treee4453ea4f2fdc63a1a71c9a796026a2984da6597 /rs/java/android/renderscript/RenderScriptCacheDir.java
parent8928c7271bee4b31e94b3d9e8e6e756d5aa2bcff (diff)
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. Bug: 15664090 Change-Id: Ida5aca002a82ec8fe1ea99f0ced814c5c8f01a95
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions