From a6db6c28a467f5dc55c288a549a76faf9b0d4bfd Mon Sep 17 00:00:00 2001 From: Yasin Kilicdere Date: Tue, 25 Jan 2022 20:07:54 +0000 Subject: [PATCH] Set default name when creating a supervised user in fallback activity. Fallback activity for supervised user creation was creating a supervised user without a name (null), now creates it with a default name. Also put an explanation on the activity stating it's just a placeholder. Bug: 215232217 Bug: 207495450 Test: croot && make RunSettingsRoboTests -j40 ROBOTEST_FILTER="com.android.settings.users.UserSettingsTest" Change-Id: I8090fde38155817ac2b4f88271abe8a0ad1ce747 --- res/layout/add_supervised_user.xml | 14 ++++++++++---- res/values/strings.xml | 3 +++ .../settings/users/AddSupervisedUserActivity.java | 4 +++- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/res/layout/add_supervised_user.xml b/res/layout/add_supervised_user.xml index b95e0f7763d..33032bd58f7 100644 --- a/res/layout/add_supervised_user.xml +++ b/res/layout/add_supervised_user.xml @@ -15,12 +15,18 @@ ~ limitations under the License. --> - +