Commit Graph

767139 Commits

Author SHA1 Message Date
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
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
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
Michael Wright
83097c6db4 Invoke BrightnessSetting callbacks even with identical brightness.
Even if the brightness is the same we still need to invoke any listeners
as just the act of setting the brightness has side effects, like
clearing the temporary brightness. Skipping these callbacks mean we can
possibly get stuck in a state where we don't adjust the brightness at
all until the next time a user touches the brightness slider -- this
persists even through screen off.

Fixes: 218600709
Test: Manual
Change-Id: I918636a61424a51f9d22d32fd692beb6eb2b8f2d
2022-05-31 02:10:47 +00:00
Robert Horvath
32cbe34b5d Merge changes from topic "privacy-type-media-projection" into tm-dev am: d59d17d74a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18375274

Change-Id: Ibdc97bc358af485e1ee1979de2a886d1eed516c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-30 18:07:38 +00:00
Robert Horvath
ec799a073a Extract privacy item monitoring interface, add AppOpsPrivacyItemMonitor am: 3a89e62694
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18375273

Change-Id: I55c6583f2d43d70eafb4150fa1fbc6d9c2d72902
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-30 18:07:35 +00:00
Robert Horvath
d59d17d74a Merge changes from topic "privacy-type-media-projection" into tm-dev
* changes:
  Add MediaProjection privacy item type
  Extract privacy item monitoring interface, add AppOpsPrivacyItemMonitor
2022-05-30 17:43:32 +00:00
TreeHugger Robot
540dd283c4 Merge "Invalidate autofill session on IME disconnect" into tm-dev am: c17eae2651
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18646671

Change-Id: I3803cd17b3c226f4e65e7d3ee2e85cdbde8f9640
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-30 17:08:26 +00:00
TreeHugger Robot
c17eae2651 Merge "Invalidate autofill session on IME disconnect" into tm-dev 2022-05-30 16:50:17 +00:00
Ming-Shin Lu
ca54ba46eb Merge "Fix snapshot starting window isn't apply fixed-rotation with IME visible" into tm-dev am: c2a6a2efeb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18659525

Change-Id: I6d764dbe1702b6cb9ca21e6a847e739046e357cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-30 12:40:11 +00:00
Ming-Shin Lu
c2a6a2efeb Merge "Fix snapshot starting window isn't apply fixed-rotation with IME visible" into tm-dev 2022-05-30 12:24:51 +00:00
Robert Horvath
b9c80b2f17 Merge "Improve LogAccessDialogActivity's rotation handling" into tm-dev am: ea71e9e9c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18164943

Change-Id: I6c6bd5ff1feb70f86dc0dabd14fe14b3e0358804
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-30 11:53:01 +00:00
Robert Horvath
ea71e9e9c4 Merge "Improve LogAccessDialogActivity's rotation handling" into tm-dev 2022-05-30 11:37:55 +00:00
Ricky Wai
4c519f8fb7 Merge "Only add boolean extra to bundle when the value is false" into tm-dev am: 76f37a5d74
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18628215

Change-Id: I767dac31c18cbe7c6ac1ac8fed3b676bd6239613
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-30 10:20:27 +00:00