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

Commit 83a438dd authored by Atneya Nair's avatar Atneya Nair
Browse files

Add empty pkg check for service AppOp exemption

As part of I5186e190bf52480f35436cce75abc8c506150fd9, audioserver no
longer checks if there are no package names under a uid before
exempting a non-app attribution with that uid for OP_PLAY_AUDIO checks
(which are used for Zen).

Although telecom is on the exemption list for Zen, it is not for effect
suppression (when zen is not enabled), so the implementation relied on
the silencing behavior from audioserver in that case.

Restore this functionality with the new package cache (which prevents
deadlock issues) to address the regression, at least until the
zen/telecom API is modified.

Bug: 413631827
Flag: EXEMPT bugfix
Test: manual via logs
Change-Id: I6a6a696497a957888346f301e34393483f320e31
parent 43776e51
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