commit | 3bc6e61a44e3d6dee6106487c6419beb606b3ea0 | [log] [tgz] |
---|---|---|
author | András Klöczl <andraskloczl@google.com> | Wed Jul 15 14:19:30 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jul 15 14:19:30 2020 +0000 |
tree | 9f26849b2f3c61ecd02e831a2c6d7d2d92fda2b0 | |
parent | 697f0fc11d1d7d1f4ca2ff584a0764b47a293186 [diff] | |
parent | 850263d0c6bc84c8a41a34b1a61419ac7d55b010 [diff] |
Merge "Fix multi user crash when Add guest was tapped multiple times" into rvc-dev am: 15d9351ba0 am: 850263d0c6 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12108073 Change-Id: Ibc484a119111a84ac0fc6d9ab2b0ab42062fe71d
diff --git a/src/com/android/settings/users/UserSettings.java b/src/com/android/settings/users/UserSettings.java index 910917a..9669190 100644 --- a/src/com/android/settings/users/UserSettings.java +++ b/src/com/android/settings/users/UserSettings.java
@@ -1064,6 +1064,7 @@ } return true; } else if (pref == mAddGuest) { + mAddGuest.setEnabled(false); // prevent multiple tap issue UserInfo guest = mUserManager.createGuest( getContext(), getString(com.android.settingslib.R.string.user_guest)); openUserDetails(guest, true);