Commit Graph

21641 Commits

Author SHA1 Message Date
Antoan Angelov
3294ddb241 Merge "Transform NFC Intent to provisioning Intent" 2021-07-16 11:39:24 +00:00
TreeHugger Robot
745050ad11 Merge "Don't allow PI crashes on unknown sender types" into sc-dev am: e0c972a2be am: c1f25be116
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15245014

Change-Id: Ic000dd83985f4a49013bcab56badacbe429b2395
2021-07-15 09:01:29 +00:00
Tim Van Patten
e301bc3d78 Merge "Enable ANGLE as a Game Dashboard Intervention" 2021-07-15 04:00:01 +00:00
TreeHugger Robot
e0c972a2be Merge "Don't allow PI crashes on unknown sender types" into sc-dev 2021-07-15 03:14:15 +00:00
Hongwei Wang
937ef38cd7 Merge "Fix letterbox issue when auto-enter-pip from landscape" into sc-v2-dev am: 109a5be4e7 am: 45f528ddae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15275746

Change-Id: Idbc7d08d54d0f102bb76032681155aeee729768a
2021-07-14 21:13:19 +00:00
Hongwei Wang
45f528ddae Merge "Fix letterbox issue when auto-enter-pip from landscape" into sc-v2-dev am: 109a5be4e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15275746

Change-Id: I4d86b1588965c99baf00d4f7d6d0066ce7df89f9
2021-07-14 21:12:44 +00:00
Tim Van Patten
acf3851b8f Enable ANGLE as a Game Dashboard Intervention
Enable ANGLE as a Game Dashboard intervention via Phenotype.

Bug: b/188475576
Test: GameManagerServiceTests
Change-Id: I91894a76b8dcf7a97244cff679a501001734f671
2021-07-14 13:24:02 -06:00
Hongwei Wang
ebe8550d03 Fix letterbox issue when auto-enter-pip from landscape
Included in this CL
- Skip layout of window when in transition to PiP mode
- Pass display cutout info via TaskInfo
- Removed TaskInfoCompat

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ie657d15d9edb9d07555bd166b5919bb12cb217e6
Merged-In: Ie657d15d9edb9d07555bd166b5919bb12cb217e6
2021-07-13 15:07:18 -07:00
Hongwei Wang
70dd96cea7 Fix letterbox issue when auto-enter-pip from landscape
Included in this CL
- Skip layout of window when in transition to PiP mode
- Pass display cutout info via TaskInfo
- Removed TaskInfoCompat

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ie657d15d9edb9d07555bd166b5919bb12cb217e6
2021-07-13 14:59:52 -07:00
Pablo Soëtard
bb419eee4a Transform NFC Intent to provisioning Intent
Generates a provisioning intent with the extra data from a nfc intent.

Test: CTS tests are included in the other CL in this topic
Bug: 192228539
Change-Id: I00ed374191bc3a48dcb336ed056395be59c445f5
2021-07-13 18:16:27 +00:00
TreeHugger Robot
c379618954 Merge "Apply pending AppInfo on Activity override change" into sc-dev am: d2dd630204 am: dfd3c926ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15260966

Change-Id: Ifb5de96582f8f9abf7c1eabc32f49c59682b9e7a
2021-07-13 00:54:53 +00:00
TreeHugger Robot
e66a6ca567 Merge "Remove isAppStartModeDisabled binder entry point" into sc-dev am: f59bf68628 am: cee250576e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15246166

Change-Id: I641e03501b93f5b3af7719b676f774fd56b22da2
2021-07-13 00:54:38 +00:00
Jeff DeCew
c17567ce1a Merge "Use SRC_ATOP instead of SRC_IN for blending the NotificationExpandButton" into sc-dev am: d14c60be51 am: ffdbe187a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15237912

Change-Id: I0ca7582b8a7eb51e364ffd9eaf8a252ef278ee41
2021-07-13 00:52:33 +00:00
TreeHugger Robot
dfd3c926ab Merge "Apply pending AppInfo on Activity override change" into sc-dev am: d2dd630204
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15260966

Change-Id: I311409dbd669049ca5cbc46f6f58bb6d0f51de19
2021-07-13 00:37:28 +00:00
TreeHugger Robot
cee250576e Merge "Remove isAppStartModeDisabled binder entry point" into sc-dev am: f59bf68628
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15246166

Change-Id: I8e059e17c333b9a6f4fd809845f93de759745169
2021-07-13 00:37:17 +00:00
Jeff DeCew
ffdbe187a6 Merge "Use SRC_ATOP instead of SRC_IN for blending the NotificationExpandButton" into sc-dev am: d14c60be51
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15237912

Change-Id: Iab479860b685db90eee761f98d5d450bd8907a4c
2021-07-13 00:36:19 +00:00
TreeHugger Robot
994ab2a7d6 Merge "Apply pending AppInfo on Activity override change" into sc-dev am: d2dd630204 am: 0e619ec793
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15260966

Change-Id: I085da96a4690d57e4ca2247fb6c39b6825f40be2
2021-07-13 00:15:40 +00:00
TreeHugger Robot
192785cba9 Merge "Apply pending AppInfo on Activity override change" into sc-dev am: d2dd630204
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15260966

Change-Id: I65f9630fe8c10ed833292cb1c609cacac3fcf343
2021-07-13 00:02:52 +00:00
TreeHugger Robot
d2dd630204 Merge "Apply pending AppInfo on Activity override change" into sc-dev 2021-07-12 23:46:03 +00:00
TreeHugger Robot
fdc4ecb50a Merge "Remove isAppStartModeDisabled binder entry point" into sc-dev am: f59bf68628 am: 5d696796c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15246166

Change-Id: I9f561de153a356b86583734990666e88fd0fddf7
2021-07-12 22:53:02 +00:00
TreeHugger Robot
496e98d41b Merge "Remove isAppStartModeDisabled binder entry point" into sc-dev am: f59bf68628
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15246166

Change-Id: Ic847445732f37587b8b03713b7cb1451ae0ce1af
2021-07-12 22:30:52 +00:00
TreeHugger Robot
f59bf68628 Merge "Remove isAppStartModeDisabled binder entry point" into sc-dev 2021-07-12 22:14:30 +00:00
Ryan Mitchell
290e51fce3 Apply pending AppInfo on Activity override change
When the activity override configuration changes, we need to apply any
pending application info changes so that when the activity is
recreated, it will have updated overlays.

Bug: 193256671
Test: change live wallpaper and observe launcher colors
Change-Id: I6b8c25a6e6756f612a0f57c921625bc58ac1ecf6
2021-07-12 22:00:43 +00:00
Charles Chen
f6a88867ac Merge "Send DA's config directly when attaching to DA" into sc-v2-dev am: 427a66fa71 am: 9e5efe4aaf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15047821

Change-Id: I33c0d02c782d7bb7153224da5725fcc9b2472f3f
2021-07-12 20:53:11 +00:00
Charles Chen
9e5efe4aaf Merge "Send DA's config directly when attaching to DA" into sc-v2-dev am: 427a66fa71
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15047821

Change-Id: I19901472ca16fbe33cf1c4f1abaa7ab2dab2922e
2021-07-12 20:35:44 +00:00
TreeHugger Robot
85fce2dc24 Merge "Optimize AttributionSource tokens - base" into sc-dev am: 2b90cc827b am: c4fe42e347
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15247205

Change-Id: I566b13fe6273d08badd3ce7ff00c76733fd668c3
2021-07-12 20:33:32 +00:00
TreeHugger Robot
01f6847c8a Merge "Optimize AttributionSource tokens - base" into sc-dev am: 2b90cc827b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15247205

Change-Id: Id2435469fff42a22018a0d08370a987a76eb42b4
2021-07-12 20:30:07 +00:00
Jeff DeCew
4e9a31b73c Merge "Use SRC_ATOP instead of SRC_IN for blending the NotificationExpandButton" into sc-dev am: d14c60be51 am: 1dfc1b579b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15237912

Change-Id: I669a3703f71320fde265c1a4bbc6314d74693830
2021-07-12 20:18:26 +00:00
Amith Yamasani
c2ef597c15 Merge "Fix FGS notification mismatch" into sc-dev am: 9eed97ac10 am: 4993c552e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15226946

Change-Id: I0cfb763bade331e193b6635dcc81e29893e7df0f
2021-07-12 20:17:39 +00:00
Amith Yamasani
81cd037108 Merge "Fix FGS notification mismatch" into sc-dev am: 9eed97ac10
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15226946

Change-Id: Ia22a84858562eefa1b6994054ae81ce7f29c80b3
2021-07-12 20:17:30 +00:00
Jeff DeCew
e390215973 Merge "Use SRC_ATOP instead of SRC_IN for blending the NotificationExpandButton" into sc-dev am: d14c60be51
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15237912

Change-Id: Ie1b2c82414463188f6a9404a2ad3015290e07c94
2021-07-12 19:55:51 +00:00
Jeff DeCew
d14c60be51 Merge "Use SRC_ATOP instead of SRC_IN for blending the NotificationExpandButton" into sc-dev 2021-07-12 19:48:58 +00:00
Charles Chen
427a66fa71 Merge "Send DA's config directly when attaching to DA" into sc-v2-dev 2021-07-10 05:02:32 +00:00
TreeHugger Robot
26bcb4a503 Merge "Optimize AttributionSource tokens - base" into sc-dev am: 2b90cc827b am: 5e1a6bc443
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15247205

Change-Id: Ida44135b60e19d97c24f79ba2ff4d019d830b908
2021-07-10 02:36:28 +00:00
TreeHugger Robot
c4fe42e347 Merge "Optimize AttributionSource tokens - base" into sc-dev am: 2b90cc827b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15247205

Change-Id: I4b1d8d446ea18a308c4a523298682b3a7d217421
2021-07-10 02:27:03 +00:00
Svet Ganov
1babd5bf51 Optimize AttributionSource tokens - base
For cases where the attribution soruce doesn't need to be
registered as trusted we are now using a shares static
token since the only purpose of the token in these cases
is for watching the source process dying as opposed to that
and security for registered cases.

bug: 192415943

Test: CtsPermissionTestCases
      CtsPermission2TestCases
      CtsPermission3TestCases
      CtsPermission4TestCases
      CtsPermission5TestCases

Change-Id: I93fde9ca1cacada7929761533dcae11b2736ce1e
2021-07-10 00:24:30 +00:00
Christopher Tate
6054148ef9 Remove isAppStartModeDisabled binder entry point
Obsolete: the use cases for which it was introduced now have a clean
internal API layer to use instead, and this reduces informational
exposure about package presence & states.

Bug: 185513355
Test: atest SyncManagerTest
Test: atest CtsSyncManagerTest
Change-Id: I4aa1848950061dce3a1378f7d0117364e62ba59f
2021-07-09 14:28:37 -07:00
Jeff DeCew
8d6f3cc158 Use SRC_ATOP instead of SRC_IN for blending the NotificationExpandButton
Bug: 191969252
Bug: 193157438
Test: check for number of layers in the scene
Change-Id: I65bd80c71b55582347da1559cf707e9d023b7f13
2021-07-09 15:40:31 -04:00
Soonil Nagarkar
8fba7cf989 Don't allow PI crashes on unknown sender types
Bug: 193207800
Test: presubmits
Change-Id: I2a674549f4cfe45841dc0094709666c25c2d743b
2021-07-09 09:08:47 -07:00
Amith Yamasani
79e00a0659 Merge "Fix FGS notification mismatch" into sc-dev am: 9eed97ac10 am: fa49c40843
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15226946

Change-Id: Ie56b95c04aa2e050da8e5d133683996fd11933fa
2021-07-09 02:15:59 +00:00
Amith Yamasani
4993c552e7 Merge "Fix FGS notification mismatch" into sc-dev am: 9eed97ac10
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15226946

Change-Id: Ib6cae8c9e8fbb1361da3555074eabc803f23878d
2021-07-09 02:01:45 +00:00
Amith Yamasani
9eed97ac10 Merge "Fix FGS notification mismatch" into sc-dev 2021-07-09 01:45:59 +00:00
Chris Li
a57fc95521 Merge "Revert "Revert "Not show size compat UI when task is not visible""" into sc-dev am: 50c03ea7ed am: c769062301
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15237129

Change-Id: Idc0767e26b90c93938258d053989b6d3d39eb722
2021-07-08 22:15:24 +00:00
Chris Li
9faa470aec Merge "Revert "Revert "Not show size compat UI when task is not visible""" into sc-dev am: 50c03ea7ed am: 886a6697a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15237129

Change-Id: I724309d4ee1d3bce6830951ff7d5cfe1692af51d
2021-07-08 22:15:06 +00:00
Chris Li
c769062301 Merge "Revert "Revert "Not show size compat UI when task is not visible""" into sc-dev am: 50c03ea7ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15237129

Change-Id: I8c2e257e5a2b7d89814288d5d8cd2e24af76c722
2021-07-08 22:03:19 +00:00
Chris Li
7d98b40e24 Merge "Revert "Revert "Not show size compat UI when task is not visible""" into sc-dev am: 50c03ea7ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15237129

Change-Id: I567dadd827f0c2a6dd7f2d8b2b54b2559869df7c
2021-07-08 22:02:09 +00:00
Chris Li
a23a2bb5db Revert "Revert "Not show size compat UI when task is not visible""
This reverts commit 76370b6fe6.

Reason for revert: Fix the merge break in ShellTaskOrganizerTests.java

Fix: 193069342
Test: atest WMShellUnitTests:ShellTaskOrganizerTests
Change-Id: I02c4bddc407eaac0ebb7cd5abb0b394f242d4d6e
2021-07-08 12:09:40 -07:00
Evan Rosky
38fd37d465 Merge "Hook up split-launch to legacy transition system" into sc-v2-dev am: 5b003d97e8 am: 884bd51e3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15138014

Change-Id: Iac1f788b593b94b552049575d8e5811c8e75a40c
2021-07-08 18:29:07 +00:00
Chris Li
0a703480d2 Merge "Remove TaskInfo#topActivityToken usage in size compat for security" into sc-dev am: e7ed99bfc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15156978

Change-Id: Ieaa6eb5bc5dc023644d4f6c19dbb583f7e022f5b
2021-07-08 18:15:42 +00:00
Evan Rosky
884bd51e3a Merge "Hook up split-launch to legacy transition system" into sc-v2-dev am: 5b003d97e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15138014

Change-Id: Iba00e82284ae6e4f6dd4a6ba46c4af4147591be4
2021-07-08 18:11:43 +00:00