- Adjust the frame size of the LottieView. We set the frame height
to 300dp and set the length of the short side of the screen to
the width of the frame. In this way, LottieView has a fixed size
to solve the problem of incorrect illustration spec.
- Set the importantForAccessibility value to noHideDescendants to
avoid the a11y issue.
Bug: 190807662
Test: robotest and see the UI.
Change-Id: Ib48f9c65e0dfbf36b7ebb70718fa5423c918a7a9
- Remove the system color part of the adaptive colors.
- Add a flag to disable the adaptive colors feature.
- Update the minSdkVersion to 28.
Fix: 191136169
Test: robotest and see the UI
Change-Id: Ia385055d24092d81960cfe4093c427b23f3f2b87
In the previous change ag/14776093, the window height fraction used
"windowHeightFraction = (float) mParams.y / mWindowHeight;". And it
causes the Y-position deviated after the rotation is changed.
To correct this, we used the draggable bounds to calculate the window
height fraction.
See b/189715285#comment3
Bug: 189715285
Test: atest MagnificationModeSwitchTest
Change-Id: I1adcea12f0a96c64c9c6e386dc2feb8e3a9ffcf3
ActionDisabledByAdminControllerFactory is also in frameworks/base,
and should take test mode into consideration.
Bug: 188847063
Test: atest ParentalControlsUtilsTest
Change-Id: I0195478606361aa8b6406376d96b2fc219d9cc4d
We need to store other things in the appsearch data dir other than what
Icing stores, such as the storage info cache.
Bug: 177685938
Bug: 181787682
Test: Presubmit
Change-Id: I903c34a2c891d617217d44f5126d0d31c8c6bf39
The dialog that's shown when admin disables functionality lives in
frameworks/base. This change extracts common logic required there
into frameworks/base.
Bug: 188847063
Test: atest ParentalControlsUtilsTest
Change-Id: I9aa9f5664e04a226d2c30a72585bebeb8645494b
Fix a race condition where the previous misbehaving FGS's notifcation
is being posted, but that FGS's being stopped, and meanwhile a new FGS
is coming up, the system would get confused and results in
IllegalStateException.
Bug: 182160371
Test: atest CtsAppTestCases:ServiceTest
Change-Id: If18e1d7ba88aef693349b82dc6e70f7d98c68665
Merged-In: If18e1d7ba88aef693349b82dc6e70f7d98c68665
Add new configuration for ramp down duration (defaults to zero) to be
used by devices that require a soft ramp down to zero amplitude
between two segments when the change is abrupt to zero.
The waveform timings will be respected, so the ramp down duration might
be reduced if the waveform segment with zero amplitude is shorter than
the configured ramp duration.
This does not add a ramp at the end of vibrations. This will be done in
a follow up.
Bug: 188431691
Test: StepToRampAdapterTest
Change-Id: I9af8c653462defaa1fc26a4fe60077a63831f3fe
That method can be called by apps that have the MASTER_CLEAR
permission, even if the device doesn't support device_admin
Test: manual verification using automotive's KitchenSink app
Fixes: 190861794
Change-Id: I97ddb18580593e7b23f8fb55b3346049a2261144
This method is called by CarService when the system goes into suspend
state and the initial implementation completely disabled the service
(and unbound system server from it), which had 2 drawbacks:
- It adds extra work when the system resumes as it has to rebind.
- It can cause memory leaks if the service implementation doesn't
handle it well.
This CL changes how the API is implemented: rather than disabling the
service, it just ignores new sessions.
To test it:
1. Disable
$ adb shell cmd voiceinteraction disable true
2. Start a session
$ adb shell cmd voiceinteraction show
3. Check logcat
I VoiceInteractionManager: showSessionForActiveService(): ignored while temporarily disabled
Bug: 190051449
Test: manual verification (see above)
Change-Id: Idbc4881b92d9254fb07ea5af1370ea600fc10b80