Commit d3bdc63 reuse canBeOrganized to decide whether to
show task surface on creation. But canBeOrganized doesn't
check supported type that causes the surface of freeform
(unsupported type) task not to show.
Bug: 185400889
Test: Enable freeform in developer options. Enter recents
and select freeform. The task should be visible.
Change-Id: Id534918998acf2a3c1f8c9b97fb9c8fb6b386996
When the application uses VoiceInteractionService to create a
SoftwareHotwordDetector, we need to report the HotwordDetectionService
status to the application, but we pass null callback into the
updateStateLocked function, it means that we will not receive the
HotwordDetectionService status.
In this change, we implement IHotwordRecognitionStatusCallback and
pass the callback into updateStateLocked function. When we receive
the HotwordDetectionService status, we will pass the status to the
application.
Bug: 183239093
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: I1a1b8abe5c7e82eddaa2f0a83f54110df74d1efb
- Support the dynamic color.
The colors of the illustration's labels can be changed.
We create a mapping table of colors and labels.
According to this mapping table, preference can
apply the corresponding colors to the illustration.
- Support the middle ground view.
User can overlay a view on top of the illustration.
- Support the auto scale of illustration.
- Update the layout to prevent the animation cropping.
Fix: 189199177
Test: rebotest and see the UI.
Change-Id: Ib02cbc5bb99ab8014d7ee7ed630a6721968a49ab
The initial value of WindowState#mRedrawForSyncReported is false.
Then even if mSyncState is none and mPendingDrawHandlers is empty
and Task#mMainindowSizeChangeTransaction is null, it still forces
client to relayout.
This change aligns the condition in updateResizingWindowIfNeeded
that also checks shouldSendRedrawForSync. So if there is no
explicit sync request, there won't be an extra relayout.
Bug: 189915038
Test: CtsWindowManagerDeviceTestCases
Test: Check trace of adding a new simple window. There should be
only one traversal.
Change-Id: Iad10034e29b9db50ec4221ac1a25f26ce6464393
This reverts commit e41b029d85.
Reason for revert: b/189985437
com.android.tradefed.targetprep.TargetSetupError[APK_INSTALLATION_FAILED|520001|DEPENDENCY_ISSUE]: Failed to install com.android.devicehealthchecks with ...
Change-Id: I06fe7d94f6dab474c74b093de8692f08d4031b62
ACTION_USER_STARTED is dispatched a bit earlier than
ACTION_USER_SWITCHED.
Test: atest ThemeOverlayControllerTest
Bug: 189075412
Change-Id: Iabd6e3bffede4caa53c6bcc61fbf17a2b8de9c55
This CL reduces the number of awkward overlaping frames, where the scrim
is partially visible on top of the app while notifications are also
semi-transparent.
One great benefit of this CL, as well, is that it avoids overdraw,
drawing notifications after the shade window becomes opaque.
Test: using jank scripts
Test: manual
Fixes: 189964129
Change-Id: Ie2fe23aba101bc4c4a5692f999d672e79ddf8e0a
Modified EdgeEffect to be disabled if the global
ValueAnimator#areAnimatorsEnabled flag is false
Fixes: 189870180
Test: Added CTS test
Change-Id: I7adb00342f6f89655719d6c5b64316fc58589e0a