- retrieveServiceLocked used target service's user id and brought
permission failure for persistent single-user services.
Bug: 185483916
Test: boot up car products and check no bind failure
Change-Id: I9b6ff17201f0cd93e2bb3ad219a5d71db34c98a6
If the wallet affordance is enabled, add padding to both sides of the
indication area to keep it centered and let the text wrap to the 2nd
line.
Fixes: 185467117
Test: manual (seeing charging message + wallet)
Change-Id: Id44b473faab2acb0f5446cf0ea890c2b2cc74e71
If one handed bouncer is enabled, both in the SysUI config (i.e.
sw600dp-land) and in the device config, then use a different gravity for
the keyguard host view. This is used to move the bouncer to the bottom
of the screen when the bouncer is one handed.
Of course, password entry isn't one-handed, but we don't bother checking
which security mode is in use. In that mode, the password line is just
on top of the keyboard anyway, so even using gravity = BOTTOM, it
doesn't render differently.
Bug: 170858298
Test: atest
SystemUITests: com.android.keyguard.KeyguardHostViewControllerTest
Change-Id: Ia24d74ca1993d667c46b8ebb8bde6ea4888a0f97
Now QuickSettings expand only when swipe begins on them, measured by
initial touch X position.
NSSL is receiving touches correctly from NotificationPanelViewController
(shouldn't be intercepted) but then if nothing wants to handle that
internally, it's passing it back to OnOverscrollTopChangedListener where
we are aware of split shade mode and can cancel expansion of quick settings.
Bug: 181235927
Test: manual
Change-Id: Ic288c468770bf199435fed9a0896f757e41fa721
Makes timing more flexible for acquisition, allowing for delayed content
loading.
Bug: 173700533
Test: Verify scroll content still loads with longer timeouts
Change-Id: I1cab53a6bda671854fb24203063c780923e34572
This reverts commit cbe99e87b7.
Reason for revert: Bootlooping with:
```Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x112002d a=1 r=0x1060276}
04-16 09:17:42.931 7256 7256 E AndroidRuntime: at android.content.res.TypedArray.getColor(TypedArray.java:529)
04-16 09:17:42.931 7256 7256 E AndroidRuntime: at com.android.keyguard.NumPadAnimator.reloadColors(NumPadAnimator.java:103)```
Change-Id: If23d3b1ce206029b1b45549edbfb9a0a7823e732
It's in framework.jar already, we needn't duplicate this code.
Bug: 155379391
Test: m
Test: atest StrictJavaPackagesTest
Change-Id: I8767b4f06d5646989da3b914e33cce22355e751e
This is already used for similar events such as icon drops and user taps. Using it to indicate that the user has woken/slept the device (and passing along location information) makes sense!
This does require an API modification to add the new string constants to WallpaperManager. This change is being requested by 1P apps (the Live Wallpapers, which are not bundled with the OS and thus can't use system APIs).
Bug: 169693662
Test: locally with modified wallpaper, it receives events
Change-Id: I0cc1bc70dbea509a049b08f8119ed875ffc2e8d5
This method is added to change capabilities
more easily in Robolectric's TimeManager shadow class.
Bug: 159891384
Test: atest core/tests/coretests/src/android/app/time/*
Change-Id: I10b964666e93af9c2c4ead50088773a77521db65
This prevents volume from changing on TV panels when a connected
amplifier sends <Report Audio Status>.
Tests omitted because of AOSP incompatibilities.
Test: manual with Isto and Atom
Bug: 182369742
Change-Id: I412ee9d5b1ba7aab382e73deab8ac19546175842
Merged-In: I412ee9d5b1ba7aab382e73deab8ac19546175842
The key migration API is required by locksettingsservice to move the
synthetic password key out of AID_SYSTEM to protect it from deletion
when the user removes credentials from AID_SYSTEM.
Bug: 184664830
Test: N/A
Change-Id: I8d0ffb79870affc8ac055574b6f808a984aa5e52
The user can get stuck with 2 or 4 controls per row. Let the system
restart the activity to get the proper layout.
Fixes: 185364758
Test: manual, rotate with controls open
Change-Id: I501820c29e556b63363decd5a78769f5d6bb09e9