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/NotificationGutsManagerTest.java
|
63411fc9f3fe35ccf4256f123f4f4ec915c44c44 |
|
29-Mar-2018 |
Rohan Shah <shahrk@google.com> |
[Notif] Dont show blocking helper for non-blockable notifs If the notification is considered non-blockable, we don't want to show it. Moved necessary logic around into the appropriate classes (minor refactor). Cached system info (IPC) in ExpandableNotifRow instead of calling so late in the game. Updated tests & added nonblocking checks. Change-Id: Ic010a0b32cf6df42e9d0d2c600cbbe95a68ffde2 Bug: 74115090 Test: atest {notif tests} Test: Visually via debug flag on sys notif
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationGutsManagerTest.java
|
524cf7b68df47b39509cee59523458efb7611210 |
|
15-Mar-2018 |
Rohan Shah <shahrk@google.com> |
[Notif] Add Blocking helper to swipe Implemented blocking helper UI as part of guts - the ExpandableNotificationRow that's swiped away is effectively detached from the notification logic but kept in as a view in the layout (it'll still show up when looping through the normal view hierarchy). We purposefully open up NotificationInfo with the intent of showing it as the blocking helper. It's animated away/closed when the user interacts with any other content or swipes away, as with guts (Can be changed in the future if we want it to stick around for longer). KIs, that will be tracked in bugs once CL is in: - Swiping a notification if it's partially hidden by the shelf does not bring it up into focus - If only one notification is showing, the shade auto-closes as if it didn't have any notifications (which it technically doesn't) - Animation on multiple blocking helper shows cuts too early and doesn't allow the notification to transition out - Long press on notification dismisses (it should probably ignore it) - Metrics are still missing - Accessibility needs a runthrough Bug: 63095540,73783854 Test: Visually & Ran all tests Change-Id: Iaa5e3d5537bbb72c946fdd7ee35b155e22ca2b05
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationGutsManagerTest.java
|
b586745d86a7335901646da128ef296e80ba0a22 |
|
28-Feb-2018 |
Julia Reynolds <juliacr@google.com> |
Show app ops guts when tap app ops icons Test: runtest systemui Bug: 64085448 Change-Id: Ia51044f77311ab705ffb9dd1ae204d0131316396
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationGutsManagerTest.java
|
a85c2a003240d9b91932918c7f3a92f622d8db45 |
|
12-Jan-2018 |
yoshiki iguchi <yoshiki@google.com> |
Add tests for NotificationGutsManager This CL adds two tests for NotificationGutsManager: - opening and closing guts - Reinflate and replace guts by changing density (or font scale) Bug: None Test: Compiled and ran "runtest systemui" Change-Id: Ic51fa97d18ec78a2c74dd16d01440a2e0f9991ef
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationGutsManagerTest.java
|