summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-09-15 14:17:40 +0200
committerJorim Jaggi <jjaggi@google.com>2017-09-15 14:17:40 +0200
commit406386a894340d0e4460b363df6250bb5b13294f (patch)
tree7c7a586a4131f9d662029e553f0eca02c374d0d0 /rs/java/android/renderscript/ProgramStore.java
parentb7202a8339652a721a285c37358e38b4926f8e25 (diff)
Don't take invisible screenshots
This fixes a bug where we took a snapshot of a task while the surface wasn't visible yet. The transition was set-up so the win animator was already shown but translucency was set to 0, leading that the snapshot is a black screen. We fixed this by also checking whether the alpha is non-zero. Fixes a bug where launching a Hangouts notification from the lockscreen causes a black flicker. When we launch the activity, the Hangouts activity is in the mClosingApps list, because it's immediately hidden from the lockscreen, which means we try to take a snapshot. Shortly after that we reopen the activity because Keyguard is going away, so we try to reuse a snapshot. Test: go/wm-smoke Test: Open hangouts, close hangouts with back button, go to Keyguard, receive message, launch notification Change-Id: Iffc1db1a738800c90a2421a5f90174d647eb4440 Fixes: 65695379
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions