am ae45db05: Update to match API rename
* commit 'ae45db052a5e3e7817a09461558158a6670c013e': Update to match API rename
This commit is contained in:
@@ -3777,7 +3777,7 @@ public final class Launcher extends Activity
|
||||
android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR2;
|
||||
if (supportsLimitedUsers) {
|
||||
final UserManager um = (UserManager) getSystemService(Context.USER_SERVICE);
|
||||
if (um.isUserLimited()) return false;
|
||||
if (um.isLinkedUser()) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user