diff options
author | Evan Severson <evanseverson@google.com> | 2020-12-09 13:45:21 -0800 |
---|---|---|
committer | Evan Severson <evanseverson@google.com> | 2021-01-08 14:50:39 -0800 |
commit | 2e3ba7cd302465754c63e164c886b58259322f9e (patch) | |
tree | a37aae7d69e57a4b2e627d202f8c1438a8a1b239 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b26f201709cb9c7dbd7e14ae7186cc1098bd4332 (diff) |
Make the sensor privacy state per user
For the spaceship mode this is purely an internal refactorization since
all the apis remain the same and the state is kept in sync across users.
For the individual controls there's new calls to set the state of the
toggle per user or per profile group.
Test: Manually change state with `adb shell cmd sensor_privacy enable 0
microphone`
Manually upgrade from old persistence to new persistence form
Manually check that the persisted state remains when rebooted.
Bug: 162549680
Change-Id: I0a5eac7a5c3beb272a456790d999a0282d77bf09
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions