summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2022-07-06 16:22:11 +0000
committer Nick Chameyev <nickchameyev@google.com> 2022-07-18 14:51:48 +0000
commit1b94d53122875a74c2b125623ee255f4684afbb4 (patch)
tree6d3c9efe8be0fd6e24cfeb8e64778e055aca18e2 /libs/androidfw/AssetsProvider.cpp
parenta9a4f1e462c220685cdabbccf4a6aa148bb66bfc (diff)
[Partial screen sharing] Handle system-requested media projection stop in SysUI screen recorder
Stops the recording when the system notified that it is going to stop the media projection session or destroy the virtual display. When the system stops the recording it will perform the same operations as if the user clicked on 'stop' button. If the recording is empty (e.g. system couldn't setup screen recording and immediately stopped it) we won't save the file and show an error toast. Bug: 220727636 Test: com.android.systemui.screenrecord.RecordingServiceTest Test: start screen sharing and emulate setup failure in ContentRecorder Test: start partial screen sharing and kill the target app Change-Id: Ic3c2342c01fbaa5f87e36418483eb431d6484a38
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions