This change ensures that NotificationMenuRow.onNotificationUpdated()
is called when a notification entry's importance changes,
so that the icon for the interruptiveness settings is
updated appropriately.
Test: manual
Change-Id: I1ac185a716ce5cdf15bde1c4b354ced4c45dc6cf
Forgot that quickscrub does not proxy motion events when refactoring.
Added a new function for actions to proxy events and made sure that the
test catches if events were proxied.
Test: atest QuickStepControllerTest
Change-Id: I8c047816aa266dfd9d220df7d47a13dadf5987f9
Fixes: 119502592
Implements basic API's to control windows generating insets in
the new insets world.
Test: CTS tests will be added at some point in the future
Bug: 118118435
Change-Id: I722d2e58c68734ac131b12da3d9978e946292130
Navigation bar can show on non-default display now. So the caller
should specify which display the desired navigation bar is on.
Bug: 117474929
Test: atest QuickStepControllerTest
Change-Id: Ibe06a6c7778134204502e6456860d69bea2a9061
Test: Manualy launch an app
Test: Press home when activity is on top of the stack
Test: Quick scrub
Test: Swipe up on the home button, swipe down
Test: Tap on notification on the shade
Test: atest ActivityLaunchAnimatorTest
Bug: 111514493
Change-Id: Ib7e29e7e07bf2a245ff949373af700b319e273fc
* changes:
3/n: For passive modalities, add plumbing for "try again"
2/n: Multi-modal support for BiometricPrompt
1/n: Move BiometricDialog management to BiometricService
When the current device is a hearing aids, display the name under the
tile.
Bug: 117423826
Test: Manual testing on phone with hearing aids connected
Change-Id: I98cfda7905763a3da3dbc1fbed13fee881da7bb2
Because we're now getting the viewstate directly from the
view, this was introducing an issue where the viewstate
being null was actually a symbol of the view being null,
which now lead to a nullpointer.
Change-Id: I1d171449034422d25a6e7ba7dca5154db3ce20b3
Fixes: 120230161
Test: remove last notification, no crash
When "try again" is showing, authentication is canceled internally.
BiometricService caches the client's info so that authentication can
be restarted when "try again" is pressed. Because authentication
is not running when "try again" is showing, BiometricService also needs
to have a TaskStackListener so that BP can be dismissed and an error can
be sent to the client when the app loses focus.
IBiometricServiceReceiver has been split into two. One for BiometricPrompt
to receive messages from BiometricService, and another for BiometricService
to receive messages from SystemUI/<Biometric>Services.
When we get locked out, don't send the last onAuthenticationFailed
to the client, since "Authentication failed" will be shown briefly
and be replaced by "Device locked out" which is janky
Bug: 111461540
Test: Tested with requireConfirmation enabled/disabled
Test: Tested onConfigurationChange corner cases, e.g. when "try again"
or "confirm" buttons are showing, rotate the device. Buttons
persist correctly and don't appear when unexpected
Test: Tested task stack corner cases, e.g. when "try again" is showing,
press home button. BP dismisses and client receives ERROR_CANCELED
Test: BiometricPromptDemo receives all callbacks
Change-Id: I62126708ce8db8b358c666a07aa7c39607642c9d
If a tile that is not considered stock (currently nfc and user) are
added through adb, they will persist through edits of QSPanel until they
are removed.
Test: Manual using adb shell settings put secure sysui_qs_tiles wifi,bt,dnd,flashlight,inversion,nfc
Test: atest
Change-Id: I0c9c003b486ae93481810f19e26b849cc38adbc5
Fixes: 116614851
This change modifies the UI displayed when the new interruption model is
enabled after long pressing a notification or tapping the settings icon
in the notification side menu. The text links for blocking the channel,
toggling its importance, or canceling out of the dialog are replaced
with buttons with icons and clearer text descriptions.
Test: atest NotificationInfoTest
Bug: 116622974
Change-Id: I06ead5c4da77319df3ebe4c48d863dede37bf2f4
This logic is not necessary anymore, and makes transition of the
windows manager flaky.
Bug: 119217735
Test: atest CtsActivityManagerDeviceTestCases:KeyguardTransitionTests
Change-Id: I953b40737f6673b83d27b096dd1f8e81b0cc6e46
Because we were changing the visible type but not actually
making it visible, the view could remain blank for a while
until another layout selection came in.
Change-Id: Ica5a5ff806311429883c0a0212e33efccfd8d460
Fixes: 117272628
Test: Add headsup , ambient and let them time out, observe regular notifications
When launching a child of a group there would be strange artifacts
from the clipping. These are now fixed. Also made sure that
the notification can't be launched if the parent is translated.
Test: launch child in a group, observe normal animation
Change-Id: Iee8e4b49462e140d3eaffe5b2504caa1b67d04e2
Fixes: 110093221
Making this api a @SystemApi, protecting it with a permission and
changing boolean animation parameter to a long.
Change-Id: Ife6aac2806a5590288a801751f22d85c3cfd4622
Fixes: 116117810
Test: atest DozeWallpaperStateTest
Test: atest WallpaperServiceTest
Test: set image wallpaper
Test: set AOD wallpaper that holds permission
Test: set AOD wallpaper that doesn't hold permission
This is added to report clicks on actions buttons to NAS.
BUG: 119010281
Test: atest SystemUITests
Test: atest RemoteViewsTest
Test: atest NotificationManagerServiceTest
Test: Manual. Tapped on the action (both normal and contextual) and
observed the log.
Change-Id: I381994737d8c3185d3fabf9b6c481fd01a89a634
- Make a better distinction between surface bounds and buffer size by renaming setSize to
setBufferSize and removing setSize for all buffer-less surfaces.
- Adds an error check in SurfaceControl to ensure buffer size is only set for buffer-less surfaces.
- Updates color fade surface to use passed in transaction object.
Bug:114413815
Test: go/wm-smoke
Test: atest FrameworksServicesTests:DimmerTests
Test: atest FrameworksServicesTests:SurfaceAnimatorTest
Change-Id: I88bd1452d6b3b3009e73e26986027d6a5a9efebc
Introduced a way for prototype settings to be able to remap the gestures
to actions via a controller. Also the back action is not restricted to a
button drag anymore. Back button visibility from prototype settings
will also signal when to hide the back button immediately.
Bug: 112934365
Test: atest QuickStepControllerTest
Change-Id: Ib5215162edb50162d6f492c5e8a07786c1e2223b