This appears to prevent crashes from dynamic loading failures when
building and deploying sysui & wpp from sysui studio instead of building
through soong.
Bug: 279049213
Test: Deployed wpp & sysui from sysui studio
Change-Id: I6225f9529898ef8c6f4953957fb83cf0cd2abda0
Fixes: 278273334
Fixes: 278761837
Test: Open settings from lockscreen, 7 days of team food testing and 7
days of released flag.
Change-Id: I73af77466f4a199dd743e62e48f7040c36e8cd8f
Merged-In: I73af77466f4a199dd743e62e48f7040c36e8cd8f
This change introduces a plugin interface for TableLogBuffer so Monitor,
which is under the shared/ target, can communicate through it and log
condition updates in a table format.
Bug: 280816949
Fix: 280816949
Test: atest ConditionMonitorTest
Test: adb bugreport and verify conditions logged as table in ABT
Change-Id: Ib5d69bba61a190ed0426ab548d2129572ced376c
This change
- creates a new logging library under /SystemUI/log/
- moves all classes under
SystemUI/plugin/src/com/android/systemui/plugins/log/ into the new
library
Test: verify LogBuffer works correctly on device
Test: atest LogBufferTest
Bug: 276475093
Change-Id: I0a963c660a288177be0f881312abffc84f95d5bf
- Leaves the bounds change animation be taken care of, by a
`ChangeBounds` transition. This takes care of the clock moving
correctly in RTL, and works well together with the burn-in animation
(offset + scale) that happens when going from/to AOD.
- Changes the step clock animation logic to only update glyph offsets,
instead of bounds + offsets.
- Removes the cancellation logic as it wasn't being used now, and was
making the code more complicated to read.
- Renames a few methods, adds documentation, and tries to simplify the
code a little bit.
Fixes: 274892412
Test: Manually - Going from/to AOD and posting/clearing notifications
on lockscreen.
Also took before/after videos and compared side by side.
Change-Id: I92f5c822a6b45ef5e4c5db680f9c795b3d8a5042
When shade is in full width mode in landscape (i.e. on phones),
the QS tile clipping was incorrect due to the QS container view
having an inset to avoid the camera cutout. This inset needed to be
accounted for so the clipping would accurately mimic the shape of
the notifications scrim, which does not have an inset.
This only fixes the visible mismatch in QS tile clipping in landscape
mode; it does not fix the very subtle ~1-2 pixels mismatch in
QS tile clipping that is consistently visible in any orientation and
is most likely an anti-aliasing issue(?)
Bug: 267303661
Test: Manually verified QS tile clipping appears correct
Change-Id: I78421482b1c3f5e8eca355182aef0cdac2e4edfe
This is a new class that will replace
ActivityStarterDelegate/CentralSurfaces/CentralSurfacesImpl for
ActivityStarter delegation.
Bug: 278273334
Test: Open notifications from lockscreen
Test: Open settings from quick settings
Change-Id: Ie4513c0850e9a79ede133aba52d7dc6ac0dfa04d
We want to ensure that ActivityStarterDelegate handles all activitystarter
invocations so that we can route these method to a separate class.
There should be no change in behavior as activitystarter delegate just
asks central surfaces to do these same invocations.
Bug: 278273334
Test: Unit tests
Test: Make sure it builds
Change-Id: I4af5b793ba9b8ab9091782cb17997039c8df2e4d
Also add a small Start Delay to StatusArea translation
Bug: 276733633
Bug: 276236565
Test: Manually looked at timing of animation
Change-Id: I6d77e53a4f80c8b860596797b3f982e116601167
The `View v` parameter can be used to construct a custom
ActivityOptions for launching animations.
No behavior change.
Bug: 274104981
Test: N/A; passing existing tests.
Change-Id: I26f1f4c967a153697d4a6e38ea3a14b441c47bb5
Add a message to bouncer when we are showing to show the reason we are
authing bouncer. This is set in dismiss with action as we intend to
authenticate to perform some action.
Fixes: 277278610
Test: longpress lockscreen and open lockscreen settings. Open bouncer
with udfps enabled and not enabled.
Change-Id: I82a5aea6779a60e200921f0743882cd03305185c
Previously the events were dropped on the floor since we were still
frozen.
Bug: 277974555
Test: atest
Change-Id: Ia6e26e8bc5226919d7b9797905bbd19f8503e7b2
This change adds a new module SystemUICommon and moves RingBuffer to
it. This is to prepare introducing a new logging library which would
depend on it.
Bug: 276475093
Test: RingBuffer does not have existing tests, so just verified
LogBuffer works correctly on device
Change-Id: Ib71fcf8526021be1ac3fe279210c54cb7d4cd0e6
SwipeHelper was always configured with the X direction and furthermore
the Y scrolling was broken with the ExpandableNotificationRow
Bug: 247866457
Test: atest NotificationSwipeHelperTest
Change-Id: Ib45df3f84f0851b99d9460f578ff154dc8e4a5f8
This change uses StatusBarStateController to check if the device is
dreaming, since that state is based on the dreaming broadcasts which are
only sent after the dream has finished waking up. This means that
StatusBarContoller.isDreaming will remain true during the wake-up phase
of the dream, therefore allowing full-screen intents in notifications.
This change also removes the RPC to DreamManagerService, since the dream
state is locally cached in StatusBarController
Fixes: 265977861
Test: atest StatusBarStateControllerImplTest
Test: atest NotificationInterruptStateProviderImplTest
Test: atest CentralSurfacesImplTest
Change-Id: I8e97fdb064c4b23517d69498638769aac26f419f
`secondaryLabel` is public and may be changed from other threads, therefore make a local reference and use the local reference.
Bug: 271270746
Test: build SystemUI and verify the secondary label works properly
Change-Id: I71c79bcf380ce46ad5f0be6b8e2a7647df55f5bf