summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Nikhil Kumar <nykkumar@google.com> 2023-01-10 14:32:44 +0000
committer Nikhil Kumar <nykkumar@google.com> 2023-01-12 14:23:04 +0000
commit28ce35e5ac7ed0bc93e6d69a8ec9fdd60982a8e9 (patch)
treee3b15a4526d4848b6a99eb806c2ff8a90bf66da8 /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent04cc6b94464db41b4a7b7a455c8454caa063a484 (diff)
Bug reporting flow to work for shell running on any user
In the existing implementation dumpstate prompts a consent for all the bug reports triggered from sources whouse calling_uid is not AID_SHELL(2000), but with the recent refactorings for headles shell can be running on any user and have different calling UID than 2000. Change all the calling_uid assertion of shell to app_id to match with shell process running on any user. Refactored sendBroadcast method to send broadcast to the calling user. Bug: 260989962 Test: manually tested consents are not triggered for the bugreport triggered from shell on a secondary user. Ignore-AOSP-First: will do it later with other headless changes. Change-Id: I37dd1c5fbe68b3888ecec19533e19728c3f7d858
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions