From f162efee8995c8d7a26992e72fe771c41b790e39 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Mon, 29 Apr 2013 10:43:05 -0700 Subject: [PATCH] Prompt to set a screen lock when adding a restricted profile Bug: 8735493 If there's no screen lock, prompt to take the user to set a lock. On return, check if user set the screen lock. If so, add the restricted profile, otherwise don't add it. Fix a small layout issue: Bug: 8721209 Change-Id: I2a18fea50a1d810d6a7fa82038b460ca4e03d5a0 --- res/layout/two_line_list_item.xml | 3 +- .../android/settings/users/UserSettings.java | 53 ++++++++++++++++++- 2 files changed, 54 insertions(+), 2 deletions(-) diff --git a/res/layout/two_line_list_item.xml b/res/layout/two_line_list_item.xml index 86392b6b242..e6a7c2b410b 100644 --- a/res/layout/two_line_list_item.xml +++ b/res/layout/two_line_list_item.xml @@ -16,7 +16,8 @@