summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Pavel Grafov <pgrafov@google.com> 2023-04-27 13:38:01 +0100
committer Pavel Grafov <pgrafov@google.com> 2023-05-03 11:02:15 +0100
commit22db3a091d5a6f54ee7d4ba74d8c738304d63709 (patch)
tree40463d791ae9b34092174001a97d4bb1bf3398bc /libs/androidfw/FileStream.cpp
parent6a9342d76fb7ed0d315720cd5d97d98da113c86b (diff)
Don't start work challenge unless auto-cancel.
This bit of logic ensures that the notification from a work app doesn't get cancelled prematurely when the user taps on it and then dismisses the work challenge window. If an activity is started for a locked profile user, work challenge will be started by the ActivityStartInterceptor logic anyway, so this logic doesn't add much value if the notification doesn't auto cancel on click. This CL allows intents leading to showWhenLocked activities to be invoked by tapping on a notification, like an incoming call notification from the dialer. Bug: 279147687 Test: manual with incoming call Change-Id: I2e5f3bfab31e3ebc1d1e2713f86570ff5ee0420a
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions