Move foreground check outside of mNotificationLock
I have to pass this into EnqueueNotificationRunnable to avoid querying ActivityManagerService for package being foreground in mNotificationLock methods. Fixes: 143535497 Test: atest NotificationManagerServiceTest (existing pass) Change-Id: I89a2b220b1a12b4d9628d0c852e187885548058e
Loading
Please register or sign in to comment