Fix rule ownership check when notifying from a ConditionProviderService
Because we jumped on a different thread to free up the caller, this meant that Binder.getCallingUid() was always the system process. Instead of that, always supply the (correct) callingUid to methods in ZenModeHelper. Bug: 379722187 Test: atest ConditionProvidersTest ZenModeHelperTest Flag: com.android.server.notification.fix_calling_uid_from_cps Change-Id: If823e20623b359f1e48714d8a37f6acd194f50be
Loading
Please register or sign in to comment