commit | 65f785344ad5384d65692322f68b5ffa4f7adefc | [log] [tgz] |
---|---|---|
author | Matías Hernández <matiashe@google.com> | Mon Jan 06 14:44:01 2025 +0100 |
committer | Matías Hernández <matiashe@google.com> | Mon Jan 06 14:55:25 2025 +0100 |
tree | 2af01c3fcc10b8a8a1e20cc351972902ddaf43ec | |
parent | 74c4087d601ede801e705748155669e4df8b49ad [diff] |
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