- Update padding between QS tiles
- Add margins in the QS header for larger width devices
- Update carrier text length in QS footer and fix animation overlap
- Fix TouchAnimator to linearly interpolate more than 2 keyframe values
Bug: 73312177
Test: visual
Change-Id: I8da031437fc78ef1fb86797237711ac92a860616
Next alarm will be visible 12h before triggering.
Test: Set alarm that will ring in 8h
Test: Set alarm that will ring in 14h
Test: Set alarm that will ring in 11:59, wait one minute
Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardSliceProviderTest.java
Change-Id: Icd4253771efcdf5afb4e9e52329fa410d7fd1cc1
ag/3659178 was merged without removing extra alarm tile code. Cleaned up
the unnecessary bits in this CL.
Test: Visually and ran AutoTileManagerTest as confirmation
Bug: 73764084
Change-Id: I55fa39775ba9f4092034bd1273dfa1c2848c3953
Scrim opacity on the keyguard should vary according to how many
notifications are visible.
A busy lock screen has a more opaque scrim, and an empty lock screen
has a more transparent scrim.
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: swipe away or receive notifications on the keyguard
Change-Id: I672b5e1a82d65dd326b40069d61223c3c0161493
Telephony will rebroadcast ACTION_SIM_STATE_CHANGED with
EXTRA_REBROADCAST_ON_UNLOCK set to true to indicated
that an old message is being reposted for backwards
compatibility purposes.
System UI is direct-boot-aware and can should these
broadcasts.
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardUpdateMonitorTest.java
Change-Id: Ie1c092f06f32f124cca68d2561b50038af6dc38f
Fixes: 68546898
The visbilityChanged listener is only set up later,
so we'll have to add a nullcheck for it.
Change-Id: I1f5843f02fd9c8fc20e26f1de47911e5eb533471
Fixes: 73758799
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/RemoteInputViewTest.java
Added some hooks in animator to pass along expanded/animating/collapsed
state in a more clear manner. Added tooltip view with the teaser text to
animate in at the top of the view (and fade out either when we start
animating or automatically after 5 seconds).
Added prefs for tracking how often tooltip is shown/hiding it based on
that number.
Updated dimensions for correct spacing (based on redlines).
Test: Visually
Bug: 72528203
Change-Id: I70e4654ed95057fac6d8dbb890d575c2a5d9f215
Implement SmartReplyView#onMeasure and SmartReplyView#onLayout according
to the redlines in go/p-notifications:
* Smart reply buttons can have at most 2 lines of text.
* Squeeze buttons to 2 lines of text when necessary to fit more
buttons.
* Don't show buttons which have more than 2 lines of text or don't fit
within the notification width.
* Update button background and text color.
Screenshot: https://screenshot.googleplex.com/cSM6Ve7qjb3.png
Bug: 67765414
Test: atest SmartReplyViewTest
Change-Id: Ia161c7f5669e7aef1b8c3480a8836784f0bde055
This reverts commit 22caf078e4.
Reason for revert: Quick settings is no longer expanding properly. Reverting this fixes it
Change-Id: I63b82e948316726067214b088016661785982e3a
Added some hooks in animator to pass along expanded/animating/collapsed
state in a more clear manner. Added tooltip view with the teaser text to
animate in at the top of the view (and fade out either when we start
animating or automatically after 5 seconds).
Added prefs for tracking how often tooltip is shown/hiding it based on
that number.
Updated dimensions for correct spacing (based on redlines).
Test: Visually
Bug: 72528203
Change-Id: Ided991da43fbede43c84c53ef22688d21aabe291
If a user has previously explicitly set the importance of
a notification, assume the user sentiment is postive regardless of what
the assistant suggests.
Test: runtest systemui, runtest systemui-notification
Change-Id: I646f0878fb5bb2a28ba17fd0ec11c8cdb64b611d
Fixes: 73231297
This patch replaces the recently introduced
Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS boolean setting
with a new Settings.Global.SMART_REPLIES_IN_NOTIFICATIONS_FLAGS
key-value list.
Rationale: This will allow us to add and tweak smart reply parameters
without polluting the global settings namespace.
Bug: 67765414
Test: atest SmartReplyConstantsTest
Change-Id: I284bb6b31618a234c4772d16ad6190a713035f1b
Anyone with a dependecy on SettingsLib should be able to create and use
a platform SignalDrawable.
Test: runtest systemui; visual
Change-Id: I65caa2ac69cae52b6ad798937df3f3399ab406af
Fixes: 72511183
Since the time based estimate takes recent usage into account we
could get a situation where the notification could trigger many
times. This CL makes it so the notification can only trigger at most
twice per charge cycle. The percentage based triggering remains
unaffected.
Test: SysUI Tests
Bug: 27567513
Change-Id: I81e29f96ac97b0d1a177e923c16d5f2800da404a
Now that hybrid notifications exist in SysUI these strings should
be moved into settingsLib so we don't duplicate them. Additionally
several utility methods were moved so that they could be shared to
help keep behavior and strings consistent between different system
components that show battery time remaining.
Test: robotests
Bug: 65656091
Bug: 66909350
Bug: 67469159
Change-Id: Ifdaf02cf39354ed0088560490eabf8b101788a83