Fixes an issue where the AOD icons where of different
brightness because they were converted to grayscale and
then inverted. Now we just set the appropriate color filter
instead.
Change-Id: Ic359aaee2e19274670f44c5b7380c636ee26e559
Test: Open AOD, observe that the icons are colored solid white (like the clock) instead of gray.
Fixes: 35850204
Bug: 35850204
Test: receive a notification group, observe that the group icon is correctly inverted on ambient display.
Change-Id: Id7aba066eb1683705fdc2c008e657bd819ddd31d
Its making it inconsistently show up on the lock screen. Until
final behavior is decided, revert to old behavior.
Change-Id: Ifc69f2d5b527cc9ce5a174b16b8b605db26fc35b
Fixes: 36141544
Test: visual
Turns out QS Edit mode didn't like the changes to dual target tiles.
Clean this up a bit.
Test: visual
Change-Id: I158fe8dba6729de102cfc592314ec483a969417d
The mockito-updated-target-minus-junit4 target was added because
some tests needed a later version of mockito than was available
through mockito-target-minus-junit4. Since the latter has now
been upgraded to 2.7.13 that is no longer true and so users of
mockito-updated-target-minus-junit4 can be switched to use
mockito-target-minus-junit4 instead.
Bug: 32912773
Test: make checkbuild && runtest systemui
Change-Id: If7e4dd26d7d0e93731856e9739a048c89a835333
- Actions can specify whether they are enabled (default) or disabled, and
SystemUI will reflect the state in the PiP actions.
Bug: 36363677
Test: Expand pip with dismissed action
Change-Id: I36994868f82d8ba0fc87947a722d9f20b39425a1
b/36088922
Test: Settings app
This utility class can be used to bake shadow in drawable level in
system ui surfaces such as Settings, Overview and ShareSheet.
Change-Id: Iaec867d9ce5b949380c1e5004b68269d1bbeacd4
- Because the PiP menu activity needs to be always-focusable, it would
always be found as the input focus target even after the menu is
animated away. This CL ensures that main activity window is hidden
when the menu is also hidden so that we don't prevent the new focused
app windows from getting focus
- This also allows us to not finish the activity when accessibility is
enabled as the hidden window will not be reported to accessibility
services
Bug: 36225602
Test: Expand pip, tap on qsb
Change-Id: Ifa4f47ef25afc0ff73a9206e3c8bc45277d274f6
These are covered by the accessibility services now that we have
proper accessibility classes attached to everything.
Change-Id: I7a27387cf22503bb460ded72b91889263c01306a
Fixes: 36160031
Test: Toggle flashlight
QS was getting a callback making it think the lock screen was
being shown and it caused it to hide, make sure we don't hide
when the doing the open animation as we expect that we may be
coming from the lock screen.
Change-Id: I5c35e3f7d02f068ea53c71742945290c137b4551
Fixes: 36048979
Test: Click QS edit on lock screen
Apps can listen for the LOCALE_CHANGED broadcast to
change names if needed.
Fixes: 35336590
Test: runtest systemui-notification, cts, manual
Change-Id: I62d2778f61e99200692755a6f268828a374837e6
- We re-enable the input consumer once the user starts dragging the
expanded PiP to allow the touch handler to take over, but once we
reset the timer (after showing the menu again), we need to disable
the input consumer so that the menu can get touches again.
Bug: 36266913
Test: Expand PiP, move, click action
Change-Id: I30ebccd165fd764a9a8de8313659c24ecd12aec0
Notifications could get stuck in the middle of an animation
when the occlusion changed.
Test: launch camera, turn screen off, observe no animation when waking up
Change-Id: I414b9a5f7b01db2f4e2a3198647084f5e2582e8b
Fixes: 34734460
This CL adds the APCT tests within this project to
a similar suite as CTS known as device-tests.
The current method of running APCT tests in the infrastructure
is unaffected.
Bug: 35882476
Test: `make dist device-tests -j` and local builds of
continuous_instrumentation_tests & continuous_native_tests
Change-Id: Ifa382fe691842c1cd76897775b9e2a1653449eb5
Adds support for invoking display magnification by first selecting
the Accessibility Button, then touching an area of the screen to
magnify.
Bug: 30960346
Test: Manual
Change-Id: Ifd8a355562f204182e34bd37f71a3637d85cf0e1
- Adds a scrim that fades in as the PiP is dragged past the bottom movement
bounds.
- Tweaks the values for minimizing the PiP and dismissing the PiP
- Fixes an issue where the PiP could be minimized in the bottom corners
of the screen
Test: Manual - drag PiP to bottom of screen to dismiss or swipe down on
PiP when it's at the bottom of the screen
Bug: 35358768
Bug: 35358628
Change-Id: Ib4ad5ed7094fef76ea979b46ea7e03d746625d00
Save the state when the fragment is getting re-created so we come
back up in the same state we left in.
Fixes: 36082443
Test: Change density using "adb shell wm density"
Change-Id: I531de728b1f4bf59d4def7ebc5562b3a1ee6694b
It always thought the keyguard was going away which was messing with
a bunch of transitions.
Change-Id: Ie50fe71e3f75aa123db7e147ac0402d459b80536
Fixes: 34975365
Test: Open app with light status bar
This washes out the network logging icon in the network monitoring
dialog, making it look strange compared to the dark VPN key.
Fix: 35620542
Test: inspection of dialog
Change-Id: I72bc6337b88b16235dab7b48d11efee4410ede5e
The test in question would pass only when the device was
not charging, because the KeyguardIndicationController registers
itself with the KeyguardUpdateMonitor and shows indications when
the device starts charging.
Fixed by not registering the controller with the KeyguardUpdateMonitor
and instead driving the controller's callback directly.
Change-Id: I6828a97a36572be9e7520ce9a82afddf474d4008
Fixes: 36211361
Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/KeyguardIndicationControllerTest.java -m transientIndication_releasesWakeLock_afterHidingDelayed
Displays can be rotated separately and rotation watcher clients
are only interested in rotation of some specific display. This CL
adds displayId to rotation watchers and only informs them about
changes on their display.
Bug: 34242678
Test: Manual and debug.
Change-Id: If0f03804da0392c2b14a4e7c2d6a06068ad8760b
Make modifying the STREAM_ACCESSIBILITY volume conditional
to have the BIND_ACCESSIBILITY_SERVICE permission.
Add BIND_ACCESSIBILITY_SERVICE permission to sysUI.
Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioManagerTest#testAccessibilityVolume
Bug: 34379420
Bug: 30448020
Change-Id: I9f26affccd953bd8473d06822857edf92fef4ba8