Commit Graph

642941 Commits

Author SHA1 Message Date
Yandry Perez Clemente
8b366b9b8e Merge "Add a unique id to Perfetto trace and Watchdog dropbox header." into sc-dev 2021-06-03 09:43:37 +00:00
TreeHugger Robot
822d0b7f77 Merge "Implement a callback to report HotwordDetectionService status" into sc-dev 2021-06-03 09:15:11 +00:00
Galia Peycheva
1276d95bd2 Merge "[SettingsLib] Add window blurs dev option title" into sc-dev 2021-06-03 09:12:36 +00:00
TreeHugger Robot
4a443bc2c1 Merge "Make child window inherit the scale of parent" into sc-dev 2021-06-03 08:38:19 +00:00
Yandry Perez Clemente
996de53b6e Merge "Log atom ANROccurredProcessingStarted" into sc-dev 2021-06-03 07:39:56 +00:00
tim peng
076dfc8370 Merge "Disable group volume control bar" into sc-dev 2021-06-03 07:04:49 +00:00
Riddle Hsu
bb3fa41e60 Merge "Fix freeform task surface is not shown" into sc-dev 2021-06-03 06:47:44 +00:00
Yi-Ling Chuang
eda0e624c8 Merge "Support fragment transition" into sc-dev 2021-06-03 06:29:34 +00:00
Stanley Wang
ad87e56848 Merge "Improve the features of IllustrationPreference." into sc-dev 2021-06-03 06:07:33 +00:00
Jason Hsu
c2c8144656 Merge changes Iad3b9eb3,I052a5729 into sc-dev
* changes:
  Handle accessibility floating menu when switching users
  Show accessibility floating menu after user unlock their phone
2021-06-03 05:13:50 +00:00
Riddle Hsu
af0979cd40 Fix freeform task surface is not shown
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
2021-06-03 13:07:01 +08:00
TreeHugger Robot
d52baf860c Merge "Attempt to fix race of task surface visibility" into sc-dev 2021-06-03 04:37:23 +00:00
Yanting Yang
f995ce3c52 Merge "Deprecate silky flag for official release" into sc-dev 2021-06-03 04:05:26 +00:00
lpeter
645623e732 Implement a callback to report HotwordDetectionService status
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
2021-06-03 12:03:56 +08:00
Yi-Ling Chuang
270f5be2ba Support fragment transition
Bug: 189115008
Test: rebuild
Change-Id: I026524cb6ac5cf9d815a7350c8f0cc220eb7c43b
2021-06-03 11:47:15 +08:00
Stanley Wang
ee50d90e9d Improve the features of IllustrationPreference.
- 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
2021-06-03 11:25:53 +08:00
TreeHugger Robot
2498beaa3d Merge "Force relayout if sync operation is requested explicitly" into sc-dev 2021-06-03 02:59:00 +00:00
Riddle Hsu
6a0777a1d7 Force relayout if sync operation is requested explicitly
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
2021-06-03 02:58:32 +00:00
Lucas Dupin
2178808d93 Merge "Apply colors a bit earlier when switching users" into sc-dev 2021-06-03 02:20:24 +00:00
John Tsai
5d1934f765 Merge "Revert "Release cblocks back to the free pool"" into sc-dev 2021-06-03 02:13:03 +00:00
John Tsai
516cb2d025 Revert "Release cblocks back to the free pool"
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
2021-06-03 02:10:26 +00:00
Lucas Dupin
0ac508fa1f Merge "Crash in com.android.systemui.tests, java.lang.IllegalStateException" into sc-dev 2021-06-03 01:48:10 +00:00
Minche Li
a39327f045 Merge "Keeps the Y position with the same height ratio before the window height is changed" into sc-dev 2021-06-03 01:39:20 +00:00
Lucas Dupin
c50e8c3afe Merge "Avoid overlap when fading notifications in" into sc-dev 2021-06-03 00:37:02 +00:00
Lucas Dupin
e02895a32f Apply colors a bit earlier when switching users
ACTION_USER_STARTED is dispatched a bit earlier than
ACTION_USER_SWITCHED.

Test: atest ThemeOverlayControllerTest
Bug: 189075412
Change-Id: Iabd6e3bffede4caa53c6bcc61fbf17a2b8de9c55
2021-06-02 17:29:42 -07:00
Adam Bookatz
343c116a63 Merge "Slate ephemeral user deletion in systemReady()" into sc-dev 2021-06-03 00:26:15 +00:00
TreeHugger Robot
e36c773634 Merge "Add emergency app to power-save allowlist" into sc-dev 2021-06-02 23:47:04 +00:00
Antonio Kantek
1de80b1d70 Merge "Deleting DisplayContent#reparentDisplayContent and related code" into sc-dev 2021-06-02 23:23:41 +00:00
Svetoslav Ganov
1028eb2f62 Merge "Switch media fw permissions checks to AttributionSource" into sc-dev 2021-06-02 23:07:22 +00:00
Peiyong Lin
13b9214a17 Merge "Reduce log spam in GameManagerService." into sc-dev 2021-06-02 23:00:39 +00:00
Hui Yu
b7c4eb868e Merge "Generate new field short_name_hash for atom ForegroundServiceStateChanged." into sc-dev 2021-06-02 22:57:23 +00:00
Nader Jawad
ced65d71ae Merge "Updated EdgeEffect to respect accessibility settings" into sc-dev 2021-06-02 22:46:00 +00:00
TreeHugger Robot
dae10ef148 Merge "Add role annotation for READ_VOICEMAIL and WRITE_VOICEMAIL permission." into sc-dev 2021-06-02 22:45:25 +00:00
TreeHugger Robot
3ff294cd82 Merge "Make package handling in openContentUri more robust" into sc-dev 2021-06-02 22:24:17 +00:00
Lucas Dupin
0fb7f056de Avoid overlap when fading notifications in
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
2021-06-02 15:20:57 -07:00
Xiaoyu Jin
b7d75ad788 Merge "Add AppSearchConfig in AppSearch" into sc-dev 2021-06-02 22:13:37 +00:00
Adithya Srinivasan
c6273f7f15 Merge "Add TaskSurfaceHelper/Controller in WMShell to plumb game mode to SF" into sc-dev 2021-06-02 22:00:09 +00:00
Grace Cheng
1b89ad152b Merge "Update side-fps affordance to account for changes in device rotation, and derive params from sensorProps and WindowManager" into sc-dev 2021-06-02 21:40:53 +00:00
Caitlin Cassidy
2bc4662bc1 Merge "[Ongoing Call] Use the notification's key to identify when to remove the ongoing call chip, rather than the notification's template." into sc-dev 2021-06-02 21:11:06 +00:00
Beverly Tai
e9a03ecd5c Merge "Don't update lock icon location based on rotation" into sc-dev 2021-06-02 21:10:02 +00:00
Suprabh Shukla
a1812e90a3 Add emergency app to power-save allowlist
Test: Manually run:
adb shell dumpsys alarm
Should show 'com.android.emergency' under 'Exempted bucket packages'.

Bug: 189866352
Change-Id: I485dd3e4d9026e576b670a1a4439ea62eec987f3
2021-06-02 14:08:32 -07:00
Patrick Baumann
81858ab41c Merge "Release cblocks back to the free pool" into sc-dev 2021-06-02 20:35:15 +00:00
Jeff Sharkey
e6fb6087aa Merge changes from topic "may27-sdk" into sc-dev
* changes:
  Finalize resource IDs; script to help in future.
  platform/frameworks/base/ - S is now 31
2021-06-02 20:11:14 +00:00
Nader Jawad
7d0ed97427 Updated EdgeEffect to respect accessibility settings
Modified EdgeEffect to be disabled if the global
ValueAnimator#areAnimatorsEnabled flag is false

Fixes: 189870180
Test: Added CTS test
Change-Id: I7adb00342f6f89655719d6c5b64316fc58589e0a
2021-06-02 13:08:08 -07:00
Kevin Chyn
bc77821e7d Merge changes I2eebe329,I81f1dfc1 into sc-dev
* changes:
  Turn off HBM when AcquiredInfo#GOOD
  Do not handle requests on system_server thread
2021-06-02 20:06:11 +00:00
Dan Shi
82c953e97f Merge "Remove ResourcesHardeningTest from Test Mapping" into sc-dev 2021-06-02 19:48:14 +00:00
Lucas Dupin
327a271617 Merge "Correctly calculate top corner radius" into sc-dev 2021-06-02 19:23:34 +00:00
TreeHugger Robot
7a50ad7a88 Merge "Media control icon adjustments" into sc-dev 2021-06-02 19:19:24 +00:00
TreeHugger Robot
1cdc8379a8 Merge "camera2: Fix parcelling of sensor pixel modes." into sc-dev 2021-06-02 19:10:53 +00:00
Song Hu
2ab80e4562 Merge "Add sharesheet logging for empty direct share row and app share prediction timeout." into sc-dev 2021-06-02 19:03:16 +00:00