diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2015-04-17 17:59:14 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2015-05-08 17:17:16 -0700 |
commit | b501330a1b6ef14ff512a5727f7a01bc423d6fbb (patch) | |
tree | 59796487de2723dc92a0520def552124fb3aa556 /rs/java/android/renderscript/RenderScript.java | |
parent | 4f434a04708e7a254afe2e0d362f715229dc15d1 (diff) |
Disable multi-user background recording
On user switch, kill existing processes of the background user with
android.permission.RECORD_AUDIO permission. Home activity should not be
killed to avoid an expensive restart of the home launcher, when the
user switches back.
Introduced DISALLOW_RECORD_AUDIO user restriction, which is enabled for the
background user, and removed for the foreground user.
Introduced a concept of system controlled user restriction, which can only
be set by the system, rather than device administrator.
Bug: 20346194
Change-Id: Ic942fd565e80d14424230dae612965a8e229c4ef
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions