diff options
| author | 2023-07-20 07:58:43 +0000 | |
|---|---|---|
| committer | 2023-07-24 01:18:02 +0000 | |
| commit | b7c12884d382c17ed8a928c430dc9f648e082ba0 (patch) | |
| tree | 3ec8eb4ed7fd88b743cf343f696c554b23636c68 /api/api.go | |
| parent | de0c58bc600806715041674dbd39b95c70d8595a (diff) | |
Fix DND display error when caller is DO/PO
DPM calls should check uid instead of the calling uid.
It is 'pkg' that we want to check access for, not the caller which is
especially true for Settings app (caller) which needs to display DND
details for each app (package in query).
Bug: 292163859
Bug: 291863956
Test: atest FrameworksUiServicesTests
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest CtsAdminTestCases:DevicePolicyManagerTest
Test: atest NotificationManagerServiceTest
Change-Id: I15b84dc48cf5225749998c0e25ab8f599235c283
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions