summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorHyangseok Chae <neo.chae@lge.com>2019-11-07 10:15:46 +0900
committerchaviw <chaviw@google.com>2019-12-18 17:05:13 -0800
commited0624e681a521782ff6fb8cf9c40dafb93c82d5 (patch)
treeb07286f369fc72eb4ab544ed5d87b6fd58790dc2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentdf1552202170dd4d336c649d6852c041937ff003 (diff)
Ignore PIP mode request for destroyed activity
PIP request can be postponed if keyguard is on. If the activity is destroyed before keyguard is dismissed, Then PIP operation causes NullPointerException. In such case we should ignore PIP mode request. Test: Manual test - 1.Configure Keyguard (Pattern, Password) for secure lock 2.Receive a WhatsApp video call 3.Press Back Key (WhatsApp enters into PIP mode) 4.Caller ends a video call 5.When user (receiver) unlocks the screen, system reboots Test: atest WmTests:ActivityTaskManagerServiceTests#testEnterPipModeWhenRecordParentChangesToNull Bug: 144045134 Change-Id: I8f67e57b2bfaa187829622b050c6ce387d749e8d (cherry-picked from ae2c5e52efbd59b6bccd5b677b4047a292fe86fc)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions