History log of /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36e1ebca094ce4d6be9a9b3383be2bc058d40133 06-Jun-2018 Dieter Hsu <dieterhsu@google.com> Update notifications on density or font size change for current user

For created notifications, entry manager is not going to update entries
after changing the font scale and/or display density when shade is
disabled or other reasons.
To reinflate notifications for current user even filtered.

Fixes: 77728867
Test: manually restore backup with lots of apps and change font scale and/or display density
Test: atest SystemUITests:NotificationDataTest
Change-Id: I37fa38e73af1ebb672abd06282d10d7d928cc3a9
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
6dceace0eddd08156e6b71c17e3de4ed5f4f2f41 16-May-2018 Jason Monk <jmonk@google.com> Reduce usages of main looper in sysui tests

Push over to a standard testable looper, and a testable looper +
setAsMain when needed.

Also make tests more synchronous and single threaded as possible.
This will make them more deterministic and speeds them up noticeably.

Test: runtest systemui
Bug: 79550837
Change-Id: Iab0eb794329d7b1de95aef904ec08ecae7dadc98
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
25926af53740667b215457bbde0bda679b400078 01-May-2018 Julia Reynolds <juliacr@google.com> Hide some previously exempt notifications

Some notifications are exempt from DND visual suppression,
like foreground services. If a notification is tagged as a
category that's explicitly mentioned in DND settings (like calls),
exempt that notification from DND exemption, or, hide it.

Test: atest SystemUITests
Change-Id: I661e6d99d09adcb381aef04cccdf93c9810d19b2
Fixes: 78908945
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
aa96cf3460abe7cac66f203a7c9a08cf5b2e60e8 17-Apr-2018 Julia Reynolds <juliacr@google.com> Exclude system notifications from visual suppression

But silence them by saying them cannot bypass DND.

Test: atest SystemUITests
Bug: 77656914
Change-Id: I044696cfdcef0e4a14be21173949612480722236
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
9159006d089ea853ae6982988cfd9f08b97bfee7 02-Apr-2018 Julia Reynolds <juliacr@google.com> Only tag foreground notifications

With active permission icons

Test: atest SystemUITests
Change-Id: I31828f6239b1253794f9569d29dccdac5c10b0da
Fixes: 75276447
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
5bbb6dac0a51f1b6df419d725defacf0477b554b 28-Mar-2018 Julia Reynolds <juliacr@google.com> Exempt some notis from DND visual suppression

Specifically, foreground service notifications
and media notifications.

Fixes: 75261156
Test: atest SystemUITests
Change-Id: I2f1fddbf748a274177d2c8dddb1b72fce82c8c4c
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
3c7de110cc6b719d985eb2ba799b7329720a539f 28-Mar-2018 Julia Reynolds <juliacr@google.com> Properly filter alert window notifications

Test: atest SystemUITests
Change-Id: Ie07ffeb7a96469d985261c9a1edb1d7ce82af5c5
Fixes: 77162311
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
5a20a5ed2f67f8bc829a50a5ce03e56a50323831 06-Mar-2018 Beverly <beverlyt@google.com> Ability to hide/unhide suspended app notifications

Test: NotificationListenerVerifierActivity.java
Test: atest NotificationDataTest NotificationListenerServiceTest NotificationManagerServiceTest
Bug: 73965645
Change-Id: I49a02e9fd84dfaa1891437a5d8fc52109a43cded
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
fc64001126c62581447b4b0e9c843d60af5c14c6 21-Feb-2018 Julia Reynolds <juliacr@google.com> Tag foreground notis that use certain services

- Draw over other apps
- Camera
- Microphone

The icons are not yet clickable, and the system 'drawing over
other apps' notification still appears even when the app's
notification is tagged.

Test: runtest systemui
Bug: 64085448
Change-Id: Ib3b0cdd9adced82f562f256cb81af80dc395440d
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
efa1a74bb8ae7d7dabc728cb3dec9c5946221866 02-Aug-2017 Kensuke Matsui <kensuke.matsui@sony.com> Fix NPE which could occur when showing notification guts

SystemUI keeps shown heads-up notification for minimum display time
even if the notification is canceled right after it's posted.

This is intentional behavior but causes inconsistency between
mEntry and mRankingMap in NotificationData.
That inconsistency could cause NPE when showing notification guts.

To avoid this, update an Entry only when the corresponding Ranking
is available.

Fixes: 65567562
Test: manual - long press a missed call notification
immediately after receiving an incoming call
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java

Change-Id: I6dc70d8e57efa7af0f23862a00d0e18cf39dfebb
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
608a57a605163814776ffac6226f17ff5ebf308f 29-Apr-2017 Selim Cinek <cinek@google.com> Fixed an issue where notifications wouldn't have a channel

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
Change-Id: I44e66fe7c1b1cac816f3ae51bfefca3e0dafb465
Fixes: 37754736
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java
132710e3898787f1de8f5249bcb034b3ba55650b 04-Mar-2017 Maurice Lam <yukl@google.com> Add permission to show notification during setup

Add a priviledged permission NOTIFICATION_DURING_SETUP which together
with the existing Notification.EXTRA_ALLOW_DURING_SETUP will allow a
notification to be shown during setup.

Test: Added NotificationDataTest
Bug: 34705874
Change-Id: I7215acf4017ad897294c69abf63a7f2e5d556f31
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationDataTest.java