diff options
author | phweiss <phweiss@google.com> | 2017-01-17 19:06:38 +0100 |
---|---|---|
committer | phweiss <phweiss@google.com> | 2017-01-25 22:20:46 +0100 |
commit | 73145f4e60b874a408d26842d1cfc9c9506bfd9a (patch) | |
tree | 8895cce9d01c802c9d25e2c4c675d827e6e2b854 /tools/aapt2/diff/Diff.cpp | |
parent | 1b60614ae92064f72e8e982e0a47a05f25391a4d (diff) |
Create public API for policy transparency outside of Settings
The new DPM.createAdminSupportIntent() returns an intent that shows the
"This action was disabled by your admin"-dialog from settings.
This enables apps to inform the user about the cause of restricted
functionality.
A new extra for the intent allows to specialize the dialog for different
restricted features, instead of a generic message for all features.
Bug: 31215663
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services
Change-Id: I3de7aeec0f88b8f013a63957aec803cd123fbedc
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions