commit | 9e912ba0fb3dd7fc1b01f4bef37eb5189ef273fe | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Tue Feb 09 18:29:43 2016 -0800 |
committer | Fyodor Kupolov <fkupolov@google.com> | Tue Feb 09 18:29:43 2016 -0800 |
tree | a31de4f161308480efa31050be8b365eafe874c1 | |
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