summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2025-01-06 14:44:01 +0100
committer Matías Hernández <matiashe@google.com> 2025-01-06 14:55:25 +0100
commit65f785344ad5384d65692322f68b5ffa4f7adefc (patch)
tree2af01c3fcc10b8a8a1e20cc351972902ddaf43ec /libs/androidfw/Util.cpp
parent74c4087d601ede801e705748155669e4df8b49ad (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
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions