diff options
author | Tony Mak <tonymak@google.com> | 2018-04-24 15:30:37 +0100 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2018-04-25 12:30:01 +0100 |
commit | c0019874835341f5a4d3c429c5858630c9e2c791 (patch) | |
tree | 7cbc0dc52f4d074ecde66962c474f18a308df6c0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c72ee1a4f2b10ba3ac43daeb40f2a1135ce3b12a (diff) |
Pipe the user restriction to the admin dialog
This change allows us to show different strings for different user
restriction.
Instead of setting DevicePolicyManager.EXTRA_RESTRICTION everywhere
in Settings, EnforcedAdmin object now stores the restriction. So when
we are starting the admin dialog with the EnforcedAdmin object,
we can set the EXTRA_RESTRICTION bit.
Test: make RunSettingsLibRoboTests
Bug: 78443458
Change-Id: Iabc1629b9ed18f881cdc8c15ec5e49a4b50f76a4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions