Add an icon and alawys show the view if DND is on and suppressing
notifications from the shade. 'Manage notifications',
'no notifications', and 'clear all'are hidden when this view is visible.
Bug: 78586809
Test: atest SystemUITests
Change-Id: I9d68fda8a3bc3213c20f9e57ca64d75eebdc1d94
Adding first pass of counters for basic actions taken with the blocking
helper. This includes:
- All notification dismissal events
- Shown event
- Dismissal via outside interaction
- Any button taps to dismiss
- Undo taps
Test: Via manual testing & updated tests (+added two new)
Bug: 74609669
Change-Id: I0adcfe03cfd10809ef7a2f13afbefcb420246a43
Refactored docked position code into PhoneWindowManager to determine
which side the docked app should go based on the position of the nav bar
in landscape (as portrait will only have top). Fixed the split screen
entrance animation for quick step's overview.
Change-Id: I30f1be9d791c23f4cd197f17487609964f78fac0
Fixes: 73250406
Test: play around with splitscreen and minimized mode
Test: atest com.android.server.policy.PhoneWindowManagerTest
Fixes: 78880433
Test: execute app which setting a disable_expand flag to statusbar.
Test: after that, get a headsup notification.
Test: then, headsup appear and it would be presented as status bar height
Test: runtest systemui
Change-Id: I97cc77ad197ca5bc74ab03cc86f02083608549ba
Isolated clock refresh logic into refreshTime() and refreshFormat().
refreshFormat() makes 2 binder calls and should only called when
necessary: switching users, updating locale list or initialization.
Test: manual
Change-Id: Ia8a3a7655479d44b02c636c3c84ce8cc84e6f210
Fixes: 78535670
The window_state_changed events are populated by
Activity with the Activity title. Replicating that
behavior for volume and power dialogs.
Bug: 78775496
Test: Used a test a11y service to observe events,
and started TalkBack, which was less consistent
about announcing them.
Change-Id: Icd4cd8317544c127e44e403162512e2385ff4176
Fixes a bug where KeyguardViewMediator called into KeyguardUpdateMonitor
on the wrong thread. Also adds assertions to make sure we only touch
mCallbacks on the right thread.
Change-Id: I9524b6c182cb70134fbc9a28df8148043fec8c1e
Fixes: 78128789
Test: Device boots successfully.
1. No need to use a FrameLayout for PagedListView.
2. Support arrow drop down animation.
BUG: 78474304,73134851
Test: manual
Change-Id: Iec4e046f1abca40d76bd76ab3d5dc2a02e4dfcc2
Hide the wallpaper earlier and wait a little longer to
switch to low power mode.
This way the flickering area is less noticeable, since
less pixels will be visible, and users are less likely
to be looking at the screen.
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/DozeParametersTest.java
Change-Id: I24f2d64f580d7fdc63f6c768446d06140c29cfa5
Fixes: 78302022
Before, slots handed out holders in the order they were added, meaning
you may try to insert the N+1th icon before the Nth
Change-Id: If993cf7233989ff22633f9b026aa3627bbc72d6b
Fixes: 69527817
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/StatusBarIconListTest.java
All shared touch and drag slops are not static anymore but are computed
for the current system density if the user were to switch density of
device.
Test: change density and use quick scrub
Fixes: 78244075
Change-Id: If593568404c00bc1fbccd8a31379bb5fd03beefd
- Update both bluetooth and bluetooth connection state when bluetooth
state changes. This ensures that connection state is not stale when
bluetooth is turning off when establishing a connection.
- Display "Connecting..." when bluetooth is actively trying to establish
a connection instead of "Turning on..."
Change-Id: I16463f3f57c8adb6d9401fe478acaad5f987fa76
Fixes: 77528964
Test: runtest systemui
When only one volume row is visible, adjust the
width of the volume dnd icon FrameLayout so the
icon floats on the top right. Icon was previously
inset by padding introcued by volume_dialog_rows minWidth
attribute.
Test: visual inspection (with 1+ streams)
Fixes: 78275139
Change-Id: I8f34ba21545823ac8431396696adb4e9347b40db
CarUserSwitchingDialog threw null-ref because Guest didn't have
a default avatar.
1. Adds null guard in case default avatar is not set.
2. Populates default Guest avatar correctly.
Fixes:77546931
Fixes:78588087
Test: Manual, observing the default icon when starting a guest session.
Manual, observing the switching dialog icon without a default icon.
Change-Id: Iacbfcc65147fdbc5515c0d96eb613fb17543f6b3
- Allow QQS header status icon / date view header to expand with larger
font sizes.
- Ensure alarm icon in QQS header does not show without the
corresponding alarm text.
- Fix QQS status bar, icons and QS tile margins.
Change-Id: Icf11fc5c581cb6d3254f6223ba4bcac2879c7f16
Fixes: 78571967
Fixes: 78536526
Fixes: 77123524
Test: visual
This reverts commit b1b24e71f5.
Reason for revert: This commit will cause side effects with Project Fi. It'd be too risky to solve this issue at the current stage of Android P. Revert first.
Bug: 77579824
Bug: 77702165
Change-Id: I07035a2854427021ac0bfaa9c696daabefe6fd64
When unlocking device, if Trusted Face is on, "Scanning face" should be
automatically announced.
Also change the contentDescription for face icon, then when clicking the face icon,
instead of "unlock button", "Scanning face" will be talked back.
Test: manual
Bug:74328543
Change-Id: I94f9faa45bf5f6f7ceaf7df5acab0a970f651395