diff options
author | Amith Yamasani <yamasani@google.com> | 2012-10-17 13:27:19 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2012-10-17 13:36:21 -0700 |
commit | 7a1c4cdfae66e8b110de3988e65586871a969c04 (patch) | |
tree | 85b6f1dd31c504d869c63e92c9d3ad8503748646 /src | |
parent | 7d078f942f51f12bde6dbe1f2acd122f81ed0e07 (diff) | |
download | packages_apps_settings-7a1c4cdfae66e8b110de3988e65586871a969c04.zip packages_apps_settings-7a1c4cdfae66e8b110de3988e65586871a969c04.tar.gz packages_apps_settings-7a1c4cdfae66e8b110de3988e65586871a969c04.tar.bz2 |
Fix check for multiple users
Bug: 7365839
Remove the Uninstall for all users option if less than 2 users on the device.
Change-Id: I5d2d853e05e1d505b67f8b83b1d5ea7f9c6e7215
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/applications/InstalledAppDetails.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/applications/InstalledAppDetails.java b/src/com/android/settings/applications/InstalledAppDetails.java index fde2c22..acb669e 100644 --- a/src/com/android/settings/applications/InstalledAppDetails.java +++ b/src/com/android/settings/applications/InstalledAppDetails.java @@ -491,7 +491,7 @@ public class InstalledAppDetails extends Fragment showIt = false; } else if (UserHandle.myUserId() != 0) { showIt = false; - } else if (mUserManager.getUsers().size() < 1) { + } else if (mUserManager.getUsers().size() < 2) { showIt = false; } menu.findItem(UNINSTALL_ALL_USERS_MENU).setVisible(showIt); |