Files
frameworks_base/core/java/android/app
phweiss 73145f4e60 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
2017-01-25 22:20:46 +01:00
..
2017-01-24 17:28:48 +00:00
2017-01-24 16:18:52 -05:00
2016-09-15 08:42:35 -04:00
2016-11-04 10:43:25 -07:00
2016-11-04 10:43:25 -07:00