commit | 6d775f86147efa96bb68b7904e061c391b87be45 | [log] [tgz] |
---|---|---|
author | Mady Mellor <madym@google.com> | Tue Nov 12 16:12:19 2019 -0800 |
committer | Mady Mellor <madym@google.com> | Mon Nov 18 15:08:52 2019 -0800 |
tree | d106f6125650a5615a436bc29ba403a13c29f763 | |
parent | 1b14a1ccd9293c9b4ebff0bf868ed81c26e59961 [diff] |
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