Commit Graph

767151 Commits

Author SHA1 Message Date
TreeHugger Robot
57ea543dbd Merge "Extend the max count for retrying to request DirectActions to 7." into tm-dev am: fcf090345b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18693166

Change-Id: I9831a28afa363a051b4c184ca2e836cffe6c6b6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 08:52:21 +00:00
TreeHugger Robot
4af6d745ce Merge "Log why presentation was not shown" into tm-dev am: bd26701a6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18519537

Change-Id: I8787bb606e097db9477de25b4639dac5ad9067d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 08:51:59 +00:00
Anton Hansson
d6864b06f2 Merge changes from topic "cherrypicker-L82300000954861163:N42000001270135524" into tm-mainline-prod
* changes:
  Use already compiled library
  Make modules-utils-locallog available to platform
  Revert^2 "Convert filegroup to library"
2022-06-01 08:47:32 +00:00
TreeHugger Robot
fcf090345b Merge "Extend the max count for retrying to request DirectActions to 7." into tm-dev 2022-06-01 08:22:04 +00:00
TreeHugger Robot
bd26701a6b Merge "Log why presentation was not shown" into tm-dev 2022-06-01 08:04:53 +00:00
Anton Hansson
bcd6a7d751 Use already compiled library
No point compiling these sources once again, just use the existing
library.

Test: m com.android.wifi
Change-Id: I304bff8f34c3d4d9e00be31c9aa3c40c63cd0dd0
(cherry picked from commit 93298d6e83)
Merged-In: I304bff8f34c3d4d9e00be31c9aa3c40c63cd0dd0
2022-06-01 07:42:54 +00:00
Betty Chang
4ad5c6ff3c Merge "[LE] Test cases for Media Output Broadcast Dialog" into tm-dev am: fc02968aac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18287503

Change-Id: I8165cbbf2bb741ef4867362bbacabd097c56cdfa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 07:37:53 +00:00
Anton Hansson
50d160d2ba Make modules-utils-locallog available to platform
Makes CellBroadcastServicePlatform able to use it.

Test: lunch aosp_cf_arm_only_phone && m nothing
Change-Id: Ic62dff140f81db9aac4728ba98b44e6fbbdc9c0c
(cherry picked from commit a08352e838)
Merged-In: Ic62dff140f81db9aac4728ba98b44e6fbbdc9c0c
2022-06-01 07:35:56 +00:00
Anton Hansson
3a57ae61da Revert^2 "Convert filegroup to library"
5fca5ff385

Change-Id: I1a020fffc6345a131453b27d6f8bc2cf0acb942b
(cherry picked from commit 4e8ccccbec)
Merged-In: I1a020fffc6345a131453b27d6f8bc2cf0acb942b
2022-06-01 07:24:34 +00:00
Betty Chang
fc02968aac Merge "[LE] Test cases for Media Output Broadcast Dialog" into tm-dev 2022-06-01 07:20:49 +00:00
Peter Li
c80818f9ed Extend the max count for retrying to request DirectActions to 7.
Bug: 224789902
Change-Id: I986f1b5534c8cae69c770fb67cf9ebbbeb7c75dd
Test: atest CtsVoiceInteractionTestCases
2022-06-01 04:44:50 +00:00
TreeHugger Robot
b29e4ce242 Merge "Postpone the request direct actions before onStart" into tm-dev am: 0d84708056
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18628126

Change-Id: Ie7e0aef2cb314bb32c9587db10bbd918681b1b22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 03:52:38 +00:00
TreeHugger Robot
0d84708056 Merge "Postpone the request direct actions before onStart" into tm-dev 2022-06-01 03:29:35 +00:00
Michael Wright
99147abc75 Merge "Invoke BrightnessSetting callbacks even with identical brightness." into tm-dev am: aabe27b7a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17916604

Change-Id: Ie2676be2cb8fb34cce42956a4cfd9fc09deb0e21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 02:58:56 +00:00
Louis Chang
cccb69d351 Merge "Adding the new activity on the same TF of the cleared activity" into tm-dev am: b4c09cd2b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18669206

Change-Id: I1f4d9a2626e8b9d53c1af3d4421651558e8bf94d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 02:58:07 +00:00
Michael Wright
aabe27b7a4 Merge "Invoke BrightnessSetting callbacks even with identical brightness." into tm-dev 2022-06-01 02:41:25 +00:00
Louis Chang
b4c09cd2b1 Merge "Adding the new activity on the same TF of the cleared activity" into tm-dev 2022-06-01 02:40:46 +00:00
James O'Leary
92f905e560 Merge "Revert "Update light/dark detection."" into tm-dev am: d88a6933e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18675018

Change-Id: I0603988406ebd5067d4accccc27de353ee333740
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 01:57:39 +00:00
Ryan Lin
9896fe1981 Merge "Drop the cloned windows from visible window list" into tm-dev am: 8ef351123b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18659076

Change-Id: I82d17468f7e653b937c644220ea3b9df13b7f002
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 01:57:04 +00:00
James O'Leary
d88a6933e8 Merge "Revert "Update light/dark detection."" into tm-dev 2022-06-01 01:29:41 +00:00
Ryan Lin
8ef351123b Merge "Drop the cloned windows from visible window list" into tm-dev 2022-06-01 01:29:36 +00:00
Matt Casey
dff157c48e Merge "Remove spans from edited text when copying back to clipboard" into tm-dev am: fc51b366b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18602605

Change-Id: Ibe0905bfd87d406e3d5635ba22497aef592b446a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 01:26:52 +00:00
Matt Casey
5efe1f4ad7 Merge "Make source color textColorSecondary" into tm-dev am: 707b534826
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18635986

Change-Id: I78dfa5a74680f518d78b9c6ed100e625db3536d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 01:26:05 +00:00
Matt Casey
692a6325f6 Merge "Fix Chooser enter transition animation" into tm-dev am: 8d5bcaa534
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18609372

Change-Id: I4dad117fe8634be2ed9f1eebf0559203085a8583
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 01:25:48 +00:00
Louis Chang
bf1d0a378b Merge "Restrict the smallest screen width dp of an embedded TF" into tm-dev am: e107722e17
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18668447

Change-Id: I3233f54b1733834604c21f89595a3a84b56ab134
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 01:25:31 +00:00
Matt Casey
fc51b366b4 Merge "Remove spans from edited text when copying back to clipboard" into tm-dev 2022-06-01 01:14:05 +00:00
Matt Casey
707b534826 Merge "Make source color textColorSecondary" into tm-dev 2022-06-01 01:13:58 +00:00
Matt Casey
8d5bcaa534 Merge "Fix Chooser enter transition animation" into tm-dev 2022-06-01 01:13:49 +00:00
Louis Chang
e107722e17 Merge "Restrict the smallest screen width dp of an embedded TF" into tm-dev 2022-06-01 01:07:42 +00:00
Raphael Kim
b578b40814 Merge "Implement dumpsys for CompanionDeviceManagerService.CompanionDeviceManagerImpl" into tm-dev am: 99945d5d70
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18175782

Change-Id: If5d30a74337428530e25ed6372dac3f7d03705c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 00:23:56 +00:00
skxu
48a5cbb2d6 Log why presentation was not shown
Fixes: 219613425
Test: b/233833739
Change-Id: Ic95cc69b912e8144726124ebc8355c2d1e24079e
Merged-In: Ic95cc69b912e8144726124ebc8355c2d1e24079e
2022-06-01 00:10:02 +00:00
Raphael Kim
99945d5d70 Merge "Implement dumpsys for CompanionDeviceManagerService.CompanionDeviceManagerImpl" into tm-dev 2022-06-01 00:03:42 +00:00
TreeHugger Robot
f4047111e8 Merge "Fix "NetworkCallback was not registered" crash" into tm-dev am: 92538a9dbc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18619553

Change-Id: I7e5f6336a1f87ee951d33a1606383a7941d67d78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 22:38:35 +00:00
TreeHugger Robot
92538a9dbc Merge "Fix "NetworkCallback was not registered" crash" into tm-dev 2022-05-31 22:16:47 +00:00
James O'Leary
676c0c450d Revert "Update light/dark detection."
Revert "Update smartspace shadow"

Revert "Update app icon shadows"

Revert submission 17935777-lightDarkDetection

Reason for revert: Talked with Adam Cohen, white shadows are controverstial and we'd need to escalate to senior UX if we want to ship. James would rather do it in U timeframe, will flag to UXers we work with that the opportunity to escalate is available if needed.
Reverted Changes:
Ia91221427:Update light/dark detection.
Ie12d3d054:Update app icon shadows
Icc88c3496:Update smartspace shadow

Change-Id: I7d6b972d29b328a7d5ca7ac7241156b6e51a2cd6
2022-05-31 21:12:38 +00:00
Hongwei Wang
692d578972 Merge "Validate content overlay before removal" into tm-dev am: eb700c0090
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18656364

Change-Id: I382ae78b519714df9e6adacebf2301dd4485ec27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 19:50:13 +00:00
Hongwei Wang
eb700c0090 Merge "Validate content overlay before removal" into tm-dev 2022-05-31 19:24:48 +00:00
Issei Suzuki
b301430f6c Merge "Exclude launcher from app transition animation while recents is running." into tm-dev am: 0dfb582d5a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18492309

Change-Id: Id75dd00b26c9e92e8548ba52dfe6191caf1ccac5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 15:55:45 +00:00
Jing Ji
37f9f851c5 Merge "Add component types which a process is hosting into the proc memstats" into tm-dev am: 57e03f3b30
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18613527

Change-Id: I081c0a58d605d3c0d3e081215ec235a690944f16
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 15:54:10 +00:00
Issei Suzuki
0dfb582d5a Merge "Exclude launcher from app transition animation while recents is running." into tm-dev 2022-05-31 15:48:01 +00:00
Jing Ji
57e03f3b30 Merge "Add component types which a process is hosting into the proc memstats" into tm-dev 2022-05-31 15:37:52 +00:00
Mady Mellor
4d72d27c5c Merge "Fix the pointer position when displayed in RTL" into tm-dev am: 91d28d1b21
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18620988

Change-Id: Ia106d674a13276925cd00e655c6da83df3cdad98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 15:14:23 +00:00
Patrick Baumann
0c1abc2d87 Merge "Add visibility special casing for sdk sandbox" into tm-dev am: f598205c2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18636029

Change-Id: I824d47d318665f8c496b0df18d366222866a7601
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 15:13:26 +00:00
Mady Mellor
91d28d1b21 Merge "Fix the pointer position when displayed in RTL" into tm-dev 2022-05-31 15:10:09 +00:00
Patrick Baumann
f598205c2d Merge "Add visibility special casing for sdk sandbox" into tm-dev 2022-05-31 14:56:37 +00:00
Hongwei Wang
4c4b7ef959 Validate content overlay before removal
Bug: 234158920
Test: atest --iteration 20 --no-bazel-mode \
        PinnedStackTests#testLaunchTaskByAffinityMatchSingleTask
Change-Id: I1ed848fcd742443a23ecaa17ba6b4fb8cdb061e2
2022-05-31 10:40:53 +00:00
Louis Chang
73774c269d Restrict the smallest screen width dp of an embedded TF
Or the smallest screen width dp could be the same as the
display size.

Bug: 230035382
Test: verify sw config of an embedded activity
Change-Id: Ic085c6ed134c2787a26fd2b02b4345b04fb693e6
Merged-In: Ic085c6ed134c2787a26fd2b02b4345b04fb693e6
(cherry picked from commit 9cee26e261)
2022-05-31 18:25:02 +08:00
Louis Chang
c4e6a6f30c Adding the new activity on the same TF of the cleared activity
While starting an activity with FLAG_ACTIVITY_CLEAR_TOP, the
existing activity could also be finished and therefore the new
activity is added on the same TF of the top running activity.
However, the top running activity could be on a TF which is
different from the cleared activity.

Bug: 233860721
Test: start Settings' shortcut activity
Test: atest TaskTests
Change-Id: I5607a2737e7d0d5986adf14f44f169791da3d38a
2022-05-31 17:35:22 +08:00
lpeter
f8342c8db5 Postpone the request direct actions before onStart
By the original design, we register the activity event in the
ActivityManagerService. After getting the activity event, we will
query current visible activities and report them to Assistant.
Assistant will start to get direct actions of those visible
activities. But sometimes they can not get the direct actions
due to the stage of activity lifecycle before onStart().

We will postpone the request direct actions a few times
before onStart().

Bug: 224789902
Test: atest CtsVoiceInteractionTestCases
Change-Id: If7cd52c5ba749523e575c0be5595e8f20704c4f2
2022-05-31 14:59:42 +08:00
ryanlwlin
70764c141a Drop the cloned windows from visible window list
Currently the cloned windows is avaialbe from window list,
however the node info from the cloned window is incorrect.
To avoid confusion, we would drop them for a short term solution.

Bug: 230300971
Test: manually test with switchaccess
      adb shell dumpsys accessibility to observe the window list
Change-Id: I7a03376567698a493c9eb5e26d1f3390aacdb408
2022-05-31 13:48:08 +08:00