Loading services/core/java/com/android/server/am/RecentTasks.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -914,7 +914,7 @@ class RecentTasks { mTmpQuietProfileUserIds.clear(); mTmpQuietProfileUserIds.clear(); for (int userId : profileUserIds) { for (int userId : profileUserIds) { final UserInfo userInfo = mUserController.getUserInfo(userId); final UserInfo userInfo = mUserController.getUserInfo(userId); if (userInfo.isManagedProfile() && userInfo.isQuietModeEnabled()) { if (userInfo != null && userInfo.isManagedProfile() && userInfo.isQuietModeEnabled()) { mTmpQuietProfileUserIds.put(userId, true); mTmpQuietProfileUserIds.put(userId, true); } } if (DEBUG_RECENTS_TRIM_TASKS) Slog.d(TAG, "User: " + userInfo if (DEBUG_RECENTS_TRIM_TASKS) Slog.d(TAG, "User: " + userInfo Loading Loading
services/core/java/com/android/server/am/RecentTasks.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -914,7 +914,7 @@ class RecentTasks { mTmpQuietProfileUserIds.clear(); mTmpQuietProfileUserIds.clear(); for (int userId : profileUserIds) { for (int userId : profileUserIds) { final UserInfo userInfo = mUserController.getUserInfo(userId); final UserInfo userInfo = mUserController.getUserInfo(userId); if (userInfo.isManagedProfile() && userInfo.isQuietModeEnabled()) { if (userInfo != null && userInfo.isManagedProfile() && userInfo.isQuietModeEnabled()) { mTmpQuietProfileUserIds.put(userId, true); mTmpQuietProfileUserIds.put(userId, true); } } if (DEBUG_RECENTS_TRIM_TASKS) Slog.d(TAG, "User: " + userInfo if (DEBUG_RECENTS_TRIM_TASKS) Slog.d(TAG, "User: " + userInfo Loading