summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Tommy Webb <tommy@calyxinstitute.org> 2024-10-02 17:54:50 +0000
committer t-m-w <tommy@calyxinstitute.org> 2024-10-09 21:04:56 +0000
commit1165d39ab805a4d338e335c87a085fde13954066 (patch)
treea77ffb04d15cd8ac1b0ad8a3e91ee4a1af72038e /libs/androidfw/misc.cpp
parentac2f03ec763f6caaf199480d1fb3bf958875cf57 (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