Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 65f78534 authored by Matías Hernández's avatar Matías Hernández
Browse files

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
parent 74c4087d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment