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
Loading
Please register or sign in to comment