- Translate shelf after collapsing notification panel
- Fix issue where icon y translation would be off in AOD
Change-Id: Ibae5e7cd4cb989514a96d5edfd761b0c0201de03
Fixes: 77540062
Fixes: 77541059
Test: visual
Showing blocking message on notifications with multiple channels. Also,
the blocking helper was never committing the saveImportance logic...
Updated so it does that again.
Moved binder calls over to bg (for committing block/minimize rules).
Change-Id: I5042cf51a4700958c3cedbf5619fd1cbcb944a03
Fixes: 77320402
Test: Visually, atest {ENR|NotifInfo}Test
Update the aphla value of scrimBehind in setPanelExpansion to display
the correct tint state of Nav buttons.
Test: runtest systemui
Change-Id: Ia17bbe71106900b764ec2f5ac4729b9770eac4bc
Fixes: 74578143
AOD scrims should only animate when sysui will control the screen-off
transition.
Test: manual
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Bug: 77539750
Change-Id: Iba79ea09c149068e75163fabddd3608254dd83f3
Currently tapping on a smart reply works even when the screen is
locked. To make it consistent with inline replies, require the screen
to be unlocked before sending the reply.
Bug: 76217177
Test: atest SmartReplyViewTest
Change-Id: I3af8a0411537503650fb9f83cd99f65900e700e0
- IME flickers after dismissing a call
- IME not being triggered after rebooting
- Bouncer being shown during shade expansion animation
Test: go/sysui-bouncer-tests
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Fixes: 74523176
Fixes: 75001274
Change-Id: Iae2aa1534c34a4191311b85e81e80cea89711bf4
- CollapsedStatusBarFragment now listens to DISABLE_CLOCK so that it can
be requested to hide with disable flags (fixes SUW)
- PhoneStatusBarTransitions cares about the entire left side as a unit
instead of just notifications.
Test: atest frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragmentTest.java
Test: go through SUW, also change users from guest -> owner from lock
screen.
Change-Id: Ia693386b9ef0438a4fe341d056731e2ba6e973a0
Fixes: 71512617
Fixes: 71360226
Follow up to ag/3815403
Updated to cache bool instead of manager/info in order to reduce IPC
calls made thru packagemanager.
Also collapsed test setup for shade.
Change-Id: I8fa116b3f24eaa887d2139c0aab1996e3c95fbdc
Fixes: 74115090
Test: Visually & atest for ExpandableNR
Rolling forward ag/3824685.
Update UI to hide customize when blocking helper is showing. Fixed a
small problem with context.getString too where it was unnecessarily
passing in a format string argument.
Change-Id: I07feba206051f6804d2a537c468fcde8d85f0940
Test: Visually
Test: Ran atest NotifInfoTest with new test case (rebased this time)
Fixes: 77321231
This reverts commit 3cfc950708.
Reason for revert:
Apparently a breakage got through treehugger - I hadn't synced my changes and one of the params was incorrect. Reverting for now and rebasing before resubmit...
Bug: 77321231
Change-Id: Ib306759d6344a69f17331a6c3c9cc78d1345508b
Refactors SignalClusterView into StatusBarSignalPolicy so that it can be
used in a StatusBarIconContainer and solve all of our status bar
problems.
- Remove all uses of SignalClusterView and references to
R.id.signal_cluster. The class still exists it's just unused now
- Add StatusBarIconHolder, which can point to StatusBarIcon,
WifiIconState, or PhoneIconState
- StatusBarIconList.Slot. Allows for easier indexing of icons now that
there can be multiple icons per slot
- Add StatusBarWifiView to be inflated inside of the
StatusBarIconController when needed
- StatusBarMobile view. similar to above
- Upgrade StatusBarIconControllerImpl and StatusBarIconList to
understand the holders and added 2 new methods to specifically handle
wifi / phone state changes
- Create IStatusBarIconView (todo: rename). Abstracts the properties we
want away from StatusBarIconView so that we can use an arbitrary view
type
- NeutralGoodDrawable. Draws a light and a dark icon when needed.
- Fixes a few demo mode bugs: multi sim was broken and also turning off
demo mode was a little broken
TODO: More tests are needed for StatusBarSignalPolicy and maybe the
IconManagers
Test: runtest systemui; visual
Bug: 63772836
Bug: 73778753
Bug: 74985733
Fixes: 74427768
Fixes: 74338687
Fixes: 74388467
Change-Id: I5621b3013cdc9638b61552bd4d7211f211eddf1b
Update UI to hide customize when blocking helper is showing. Fixed a
small problem with context.getString too where it was unnecessarily
passing in a format string argument.
Test: Visually
Test: Ran atest NotifInfoTest with new test case
Fixes: 77321231
Change-Id: Ia03ea7badc7aa7ccd7b3a0e235cce2363ace9953
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
Fixes a bunch of flakes, where the WindowManagerService instance
was reused between tests, which caused delayed callbacks from a
previous test affecting state of a future test.
Also introduces a DexmakerShareClassLoaderRule to manage
the 'dexmaker.share_classloader' property instead of sprinkling
error prone System.setProperty() invocations all over the tests.
Change-Id: Ic9445d1b2cef594e79365c425632aabced6343a9
Fixes: 76111404
Fixes: 75991352
Fixes: 75991878
Fixes: 75992153
Test: atest services/tests/servicestests DexmakerShareClassLoaderRuleTest packages/SystemUI/tests packages/SystemUI/shared/tests
Currently in the worst case a user can receive 4 battery
notifications if the time estimates and percentages line up right.
This CL makes it so a user can at MOST receive one "low" battery
warning and one "critical" battery warning per charge cycle. A
charge cycle is restarted when a user charges to at least 45%
battery AND has 6 hours remaining. This does not affect the
behavior of the non-hybrid notification.
Test: robotests
Bug: 76203825
Change-Id: Ib3c7fe589f1ce4c0cdb821e1f21d1139a56fad62
Specifically, foreground service notifications
and media notifications.
Fixes: 75261156
Test: atest SystemUITests
Change-Id: I2f1fddbf748a274177d2c8dddb1b72fce82c8c4c
Noticed that appuid was being used but it wasn't set until later in the
lifecycle of the notificationinfo (rendering the channel logic moot).
If the notif is now posting notificiations to the default channel while
having multiple channels, it'll now show "Uncategorized" in the blocking
helper/notification info screens.
Fixes: 77240828
Test: Ran NotifInfoTest (added one new test case)
Test: Visually, artificially sent default ch notif with app having 9 ch
Change-Id: I45f2c35fb6dae610e511b2d316b3c184b84f2d09
Full screen switcher is only used in auto.
Fixes: 77142022
Test: Some unit tests + Refreshing sys ui and making sure full screen switcher shows first.
Change-Id: I726a79af274c2443fca0ece007ecac0f3c42a439
Notification panel expansion was overriding the animation.
The expansion needs to be ignored during "wake and unlock"
states.
Test: visual
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I781aece52c845f3fee9149c109ad598c7b555751
Fixes: 76018235