am ae45db05: Update to match API rename

* commit 'ae45db052a5e3e7817a09461558158a6670c013e':
  Update to match API rename
This commit is contained in:
Amith Yamasani
2013-04-13 17:22:10 -07:00
committed by Android Git Automerger
+1 -1
View File
@@ -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;
}