Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5998d94e authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Added more test cases on NotificationManagerServiceTest" into udc-dev

parents 52339c91 b3637447
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3328,10 +3328,10 @@ public class NotificationManagerService extends SystemService {
            }
            if (!isUiContext && displayId == Display.DEFAULT_DISPLAY
                    && UserManager.isVisibleBackgroundUsersEnabled()) {
                // When the caller is a visible background user using a non-ui context (like the
                    && mUm.isVisibleBackgroundUsersSupported()) {
                // When the caller is a visible background user using a non-UI context (like the
                // application context), the Toast must be displayed in the display the user was
                // started visible on
                // started visible on.
                int userId = UserHandle.getUserId(callingUid);
                int userDisplayId = mUmInternal.getMainDisplayAssignedToUser(userId);
                if (displayId != userDisplayId) {
+159 −62

File changed.

Preview size limit exceeded, changes collapsed.