Skip to content
Commit b7c12884 authored by Chun-Wei Wang's avatar Chun-Wei Wang
Browse files

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
parent de0c58bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment