summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptGL.java
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2020-05-28 11:37:36 -0700
committerHongwei Wang <hwwang@google.com>2020-05-28 11:41:39 -0700
commite37b84d19e4eda05911d6b7c075c9ec3e22142cf (patch)
tree031b671b5cc3ffa3726c0fd7075214bd7e8ec313 /rs/java/android/renderscript/RenderScriptGL.java
parenta33bc9b65a799695bdf488ee87eb7c1b8b91ffbf (diff)
Set isInPictureInPictureMode earlier
Per https://developer.android.com/guide/topics/ui/picture-in-picture After app requests enterPictureInPictureMode and receives onPause callback, it will continue playback if isInPictureInPictureMode is true. However, with ag/11273366, isInPictureInPictureMode will now return true after the new configuration is dispatched to app, which happens after onPause. This may cause app, following the guidance, to cease playback in PiP mode. Fixes this by setting the internal mIsInPictureInPictureMode earlier right in enterPictureInPictureMode Video: http://go/recall/-/aaaaaabFQoRHlzixHdtY/fVRqG7UWoKkQQhFxPkzcUt Bug: 156924033 Test: manually enter PiP from Twitch Change-Id: I8e0865076fcb756cfa5db39901f460ab5ad69b99
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions