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

Commit ab2a4e1c authored by Felipe Leme's avatar Felipe Leme Committed by Automerger Merge Worker
Browse files

Merge "Added more test cases on NotificationManagerServiceTest" into udc-dev am: 5998d94e

parents 25c2d8d9 5998d94e
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.