diff options
| author | 2025-01-09 14:19:56 +0000 | |
|---|---|---|
| committer | 2025-01-09 14:19:56 +0000 | |
| commit | 748d4dcafc0e6220bdc4d82739965d2075e29f57 (patch) | |
| tree | bb660b929d114286a445e16ce0ab137abfb6568e /libs/androidfw/StringPool.cpp | |
| parent | 559895c29f230f97954b74cf891a2f3daf106af3 (diff) | |
Update policy cache when clearing policy
Permission grant policy getter returns cached value while setter relies
on the underlying value in DevicePolicyData to check if there is a
change. As a result if they diverge, it is possible that the setter call
is ignored because the value is the same as in DevicePolicyData, while
cached value remains different.
Bug: 376650409
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedProfileOwnerTest
Flag: EXEMPT bugfix
Change-Id: I00d457da1a7337f91a1e34e3d8cf8b63ea548516
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions