diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2016-02-09 18:29:43 -0800 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2016-02-09 18:29:43 -0800 |
commit | 9e912ba0fb3dd7fc1b01f4bef37eb5189ef273fe (patch) | |
tree | a31de4f161308480efa31050be8b365eafe874c1 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e12aece4cad849efbbe6a806f132613a56699230 (diff) |
Clear calling identity before setting restrictions
Previously Settings.Secure.putIntForUser was failing with AppOps package
mismatch exception when createRestrictedProfile method was called from
a shell process.
Bug: 24212155
Change-Id: I47ecfa572b110d627e5b049aa98ed4d10b2e1374
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions