diff options
| author | 2024-10-02 17:54:50 +0000 | |
|---|---|---|
| committer | 2024-10-09 21:04:56 +0000 | |
| commit | 1165d39ab805a4d338e335c87a085fde13954066 (patch) | |
| tree | a77ffb04d15cd8ac1b0ad8a3e91ee4a1af72038e /libs/androidfw/misc.cpp | |
| parent | ac2f03ec763f6caaf199480d1fb3bf958875cf57 (diff) | |
Clear caller identity before updating restrictions
Fix Android 15 regression in which apps with MANAGE_NETWORK_POLICY are
not able to manipulate policies unless they are also AID_SYSTEM.
Bug: b/371004144
Issue: calyxos#2733
Issue: calyxos#2701
Test: Manual: Install test APK from linked bug to userdebug build.
Try changing toggles. Should not crash.
Change-Id: I0536ec7ab412ea6102092d44c0c938a986cf2c9d
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions