summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2022-04-11 17:23:23 -0700
committer Hongwei Wang <hwwang@google.com> 2022-04-19 23:55:06 -0700
commitdd51f86fd43f89f196436d285e0d126471794144 (patch)
tree80ce771144e4252d18a886b7c4f9ecc69660ffcd /libs/androidfw/AttributeResolution.cpp
parent6da0c2fce2a5e2aea364815fd03a2a87ed770c9d (diff)
Implement PiP custom close action on phone
To use this new custom close action on Phone - We expect app providing actions via PictureInPictureParams.Builder#setActions as they normally do - We also expect app providing a custom close action via PictureInPictureParams.Builder#setCloseAction - The custom close action is used on Phone only if it matches one of the actions listed in setActions (by comparing the PendingIntent) SysUI will render the custom close action with a highlighted background and ensures the PiP dismisses after certain timeout if the app fails to respond in time. Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fR0hxeorlYrxXyzfZ02btK Bug: 223896879 Test: see video Change-Id: I65c585ae3224061311e476753bc4c72f00c4fa33
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions