From b8e0f608cf28f20b95b65a4f7c0b345298d98e41 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Mon, 28 Jul 2014 16:28:36 -0700 Subject: Implement SET_PROFILE_OWNER intent This will be shown when a system priv-app tries to add a profile owner to a device that's already been through setupwizard. Refactored the Add Device Admin dialog to also be used for this purpose with additional warning text. Also, make sure that profile owners cannot be deactivated. Bug: 16207721 Change-Id: I25499a22718b2219a5a56b158ca2681243751549 --- res/layout/device_admin_add.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'res/layout/device_admin_add.xml') diff --git a/res/layout/device_admin_add.xml b/res/layout/device_admin_add.xml index c54ecce..25b7f01 100644 --- a/res/layout/device_admin_add.xml +++ b/res/layout/device_admin_add.xml @@ -39,6 +39,7 @@ android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="16dip"> + + + + + + + +