OSDN Git Service

Prompt to set a screen lock when adding a restricted profile
authorAmith Yamasani <yamasani@google.com>
Mon, 29 Apr 2013 17:43:05 +0000 (10:43 -0700)
committerAmith Yamasani <yamasani@google.com>
Mon, 29 Apr 2013 21:10:06 +0000 (14:10 -0700)
commitf162efee8995c8d7a26992e72fe771c41b790e39
treee2e34bfa12b2936573bcccd43bc00a35b23ce8d8
parentb0171715876b672c94c8a5aaafde95ff47b234b4
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
src/com/android/settings/users/UserSettings.java