Commit Graph

670992 Commits

Author SHA1 Message Date
Automerger Merge Worker
ca6d79f522 Merge "Merge "Limit the uniqueness of SignalMeasurementType instead of RAN in SignalStrengthUpdateRequest" am: 68b121111d am: 44a43030c4 am: c2a9eac9f3" into sc-qpr1-dev-plus-aosp am: bb07fc9412
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826890

Change-Id: I3f7e267a42696fafdd3c0dca77e2c0666ec2b007
2021-09-23 05:25:27 +00:00
Louis Chang
9c860ca9a6 Merge "Limiting activity embedding to the activities of the same app" into sc-v2-dev am: 9fbadb5a3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15810437

Change-Id: If662e6ebda097b3df7056c67c47c75e2a2dfeda5
2021-09-23 00:46:56 +00:00
Louis Chang
9fbadb5a3b Merge "Limiting activity embedding to the activities of the same app" into sc-v2-dev 2021-09-23 00:34:31 +00:00
TreeHugger Robot
faec154787 Merge "Expose getSurfaceTransformHint API" into sc-v2-dev am: dedfe23d54
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15848160

Change-Id: I1a56c0e694bfe2cf38192a3e23dd29fc6318b558
2021-09-23 00:08:01 +00:00
TreeHugger Robot
dedfe23d54 Merge "Expose getSurfaceTransformHint API" into sc-v2-dev 2021-09-22 23:55:07 +00:00
Jing Ji
a383787248 Merge "Emit TRIM_MEMORY_UI_HIDDEN event on switching to background" into sc-v2-dev am: b5d43be702
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15884037

Change-Id: Iee990eac396da90769c51388d1837da735358e46
2021-09-22 23:31:58 +00:00
Jing Ji
b5d43be702 Merge "Emit TRIM_MEMORY_UI_HIDDEN event on switching to background" into sc-v2-dev 2021-09-22 23:19:22 +00:00
Adam He
ba74f17220 Merge "Content Capture change to send window token on creating session." into sc-v2-dev am: b9eafd3c02
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15875817

Change-Id: I60f1527336eb0b0251c2b577cf4fdc81d2de2f4c
2021-09-22 20:24:52 +00:00
Adam He
5148940766 Merge "Add Content Capture event TYPE_WINDOW_BOUNDS_CHANGED to notify window bounds." into sc-v2-dev am: 8e2e8608a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15856579

Change-Id: Ic66995a013565492a45f6dc675ababc09ad91e60
2021-09-22 20:24:10 +00:00
Evan Rosky
72cd50a8a5 Merge "Fix ReOpenImeWindowTest flicker test for shell transitions" into sc-v2-dev am: 5d4046125b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15446991

Change-Id: Ife89e51976400e7077ab37cc93f94bcf904ea73a
2021-09-22 20:23:19 +00:00
Adam He
b9eafd3c02 Merge "Content Capture change to send window token on creating session." into sc-v2-dev 2021-09-22 20:13:53 +00:00
Adam He
8e2e8608a1 Merge "Add Content Capture event TYPE_WINDOW_BOUNDS_CHANGED to notify window bounds." into sc-v2-dev 2021-09-22 20:10:52 +00:00
Evan Rosky
5d4046125b Merge "Fix ReOpenImeWindowTest flicker test for shell transitions" into sc-v2-dev 2021-09-22 20:09:25 +00:00
Winson Chung
ed93c78241 Merge "Skip adding tasks to the skip list if they won't be processed" into sc-v2-dev am: 4593cd68bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15845119

Change-Id: Ic8ff35924d09ada455c337bd74fc78cc360952c8
2021-09-22 18:48:44 +00:00
Winson Chung
4593cd68bd Merge "Skip adding tasks to the skip list if they won't be processed" into sc-v2-dev 2021-09-22 18:35:53 +00:00
Lucas Dupin
88490cc44d Merge "Resize wallpapers to save RAM" into sc-v2-dev am: 212fc8b3dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15882708

Change-Id: Iee200744d1c8b30741eda52f7d62c2db2bec5d03
2021-09-22 17:47:28 +00:00
Lucas Dupin
212fc8b3dc Merge "Resize wallpapers to save RAM" into sc-v2-dev 2021-09-22 17:43:46 +00:00
Jean-Michel Trivi
8e5b6cf8ea Merge "AudioService: SpatializerHelper initializes sensors" into sc-v2-dev am: b824c8a20d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15846347

Change-Id: I00ec3e30c45b397134658e7e65d69bdf0033cec9
2021-09-22 17:35:16 +00:00
Jamie Garside
8caf55ab6c Merge "Update motion for one-handed bouncer." into sc-v2-dev am: 292c4941c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15685197

Change-Id: I018f45728cf7cdcd8ffb3d2c2849934bce82d87f
2021-09-22 17:34:45 +00:00
Jean-Michel Trivi
b824c8a20d Merge "AudioService: SpatializerHelper initializes sensors" into sc-v2-dev 2021-09-22 17:33:37 +00:00
Jamie Garside
292c4941c6 Merge "Update motion for one-handed bouncer." into sc-v2-dev 2021-09-22 17:23:15 +00:00
Adam He
d9e69e2b50 Content Capture change to send window token on creating session.
Bug: 189477723
Test: atest CtsContentCaptureTestCases
Change-Id: I70a0be583faae1a18c61e70c72a3d2a8e9e46438
2021-09-22 17:06:50 +00:00
Michał Brzeziński
93d74d1e50 Merge "Fix brightness animation in split shade" into sc-v2-dev am: 41e02db201
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15853554

Change-Id: I5ff9fd24c044cf36aae1cd73fb2610c496d68d1c
2021-09-22 11:49:53 +00:00
Michał Brzeziński
41e02db201 Merge "Fix brightness animation in split shade" into sc-v2-dev 2021-09-22 11:38:36 +00:00
TreeHugger Robot
63a9cc908a Merge "Support configurable multi-stage UDFPS enrollment" into sc-v2-dev am: 8f8783ca1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15876070

Change-Id: I2a05114500ec35d26f02ddd0039ff47f0f76710f
2021-09-22 07:48:00 +00:00
TreeHugger Robot
8f8783ca1b Merge "Support configurable multi-stage UDFPS enrollment" into sc-v2-dev 2021-09-22 07:32:28 +00:00
PETER LIANG
1e30da44b6 Merge changes I27530b15,Ic5d88cf3 into sc-v2-dev am: 5996de34d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15786402

Change-Id: I0e2cf1ff03396295c4710a105e8f776d4d81c064
2021-09-22 06:13:19 +00:00
PETER LIANG
5996de34d2 Merge changes I27530b15,Ic5d88cf3 into sc-v2-dev
* changes:
  Fixing the a11y floating menu could overlap the keyboard when rotated in a foldable device.
  Fixing the a11y floating menu could overlap the taskbar in a foldable device.
2021-09-22 06:01:42 +00:00
Peter_Liang
809296282a Fixing the a11y floating menu could overlap the keyboard when rotated in a foldable device.
Root cause:
WindowInsets have different values depend on timing and when to call it.

Actions:
Updating the latest ime inset to the menu when onApplyWindowInsets was triggered, and then adjust the position.

Bug: 200759679
Test: atest AccessibilityFloatingMenuViewTest
Change-Id: I27530b154cb3c89650be69b0d0e2116dc88a7b39
2021-09-22 05:59:52 +00:00
Louis Chang
d2ceb2ba61 Limiting activity embedding to the activities of the same app
Disallow having cross-app activities being embedded until we
have a better understanding and solutions to deal with potential
security issues.

Also not allow embedding tasks even belongs to the same app
because the  activities of another app could still be launched
on the embedded task afterward.

Only system is allowed to embed tasks.

Bug: 189386461
Bug: 197364677
Test: atest TaskFragmentOrganizerPolicyTest

Change-Id: Ib6ca8783449872f035fffe51743c5a966768c894
2021-09-22 12:17:13 +08:00
TreeHugger Robot
b4be1893ff Merge "Fix flakiness of testTransferLaunchCookie" into sc-v2-dev am: 11f14b1e2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15849146

Change-Id: I81ad1b45bfda33868d1d12c3bd4ec779ac22d261
2021-09-22 04:12:57 +00:00
TreeHugger Robot
11f14b1e2e Merge "Fix flakiness of testTransferLaunchCookie" into sc-v2-dev 2021-09-22 04:01:09 +00:00
Jing Ji
6563a8ead9 Emit TRIM_MEMORY_UI_HIDDEN event on switching to background
Previously it won't be emitted while switching from foreground
to cached, but we should send it on the visibility changes.

Bug: 194748319
Test: atest CtsAppTestCases
Change-Id: I901d7d32790d6b888f960ca1bdfb160ea1786cde
Merged-In: I901d7d32790d6b888f960ca1bdfb160ea1786cde
(cherry picked from commit 88dcaf3a52)
(cherry picked from commit 2c2e0fb2c3ae68e13318a1741b1aaf0649b62caf)
2021-09-22 03:58:29 +00:00
Evan Rosky
d39232ede3 Merge "Fix test failure due to hanging layout" into sc-v2-dev am: 6d71d15808
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15881105

Change-Id: Ic6003447049f2d277e879bb5bbd2965022072719
2021-09-22 02:49:12 +00:00
Evan Rosky
6d71d15808 Merge "Fix test failure due to hanging layout" into sc-v2-dev 2021-09-22 02:40:06 +00:00
Lucas Dupin
c0a1fc9914 Resize wallpapers to save RAM
Fixes: 200629963
Test: compare image sizes with ag/15831923
Change-Id: Ia0b614c8cd072a843f6822b7f8b77ff9e21b1ff6
2021-09-21 17:59:02 -07:00
Chris Li
cc7ae1c6da Merge "Add animation for TASK_FRAGMENT_CHANGE transition" into sc-v2-dev am: dde5115d05
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15824426

Change-Id: I38561107eb3f909c92f7554278a766ac0b72ee77
2021-09-22 00:23:41 +00:00
Chris Li
812b76a8a2 Merge "Do not set TaskFragment surface position if in change transition" into sc-v2-dev am: 1dd66dc2a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15853770

Change-Id: I8ce07305eaa7ccfd371202ec6b4d6fd3a2a19cb0
2021-09-22 00:22:36 +00:00
Chris Li
dde5115d05 Merge "Add animation for TASK_FRAGMENT_CHANGE transition" into sc-v2-dev 2021-09-22 00:14:21 +00:00
Chris Li
1dd66dc2a3 Merge "Do not set TaskFragment surface position if in change transition" into sc-v2-dev 2021-09-22 00:13:41 +00:00
Adam He
19f65ec098 Add Content Capture event TYPE_WINDOW_BOUNDS_CHANGED to notify window
bounds.

Bug: 189477723
CTS-Coverage-Bug: 189477723
Test: manual verification

Change-Id: I38cfdde21aed1827744f8db4eb61f62cc2413e78
2021-09-21 21:54:52 +00:00
Evan Rosky
b9a368df59 Fix test failure due to hanging layout
Moved postdrawtransaction application to layout pass, but didn't
set layoutNeeded.

Bug: 200134598
Test: atest MagnifierTest
Change-Id: Ic1be2db52469645d4da12c449c3e13cdb746e7ee
2021-09-21 14:28:00 -07:00
Vishnu Nair
1f19e1141e Expose getSurfaceTransformHint API
The transform hint can be used by a buffer producer to pre-rotate
the rendering such that the final transformation in the system
composer is identity. This can be very useful when used in
conjunction with the h/w composer HAL in situations where it cannot
handle rotations or handle them with an additional power cost.

Bug: 196167822
Test: atest AttachedSurfaceControlTest
Change-Id: Idb7fcf58ecbcc22cd43c226ee4faad958c265e72
2021-09-21 11:28:35 -07:00
Nate Myren
ae87fe09fb Merge "Do not fail Recognition on MODE_IGNORED for preflight" into sc-qpr1-dev am: d9a274cfa2 am: c9071cdc65
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15837795

Change-Id: Ia78ce0ec989511698b0c226dc47fdb39c9120694
2021-09-21 17:11:06 +00:00
Jean-Michel Trivi
18e5f07e7d AudioService: SpatializerHelper initializes sensors
When the Spatializer effect reports it is initialized, initialize
the sensors for head / screen.

Bug: 191404931
Test: adb logcat | grep SpatializerHelper
Change-Id: I58c22b69b32057765bced49fd9d56cbf3b6cf5a6
2021-09-21 10:07:06 -07:00
Automerger Merge Worker
bb07fc9412 Merge "Merge "Limit the uniqueness of SignalMeasurementType instead of RAN in SignalStrengthUpdateRequest" am: 68b121111d am: 44a43030c4 am: c2a9eac9f3" into sc-qpr1-dev-plus-aosp 2021-09-21 16:57:28 +00:00
Rambo Wang
c4bfe22470 Merge "Limit the uniqueness of SignalMeasurementType instead of RAN in SignalStrengthUpdateRequest" am: 68b121111d am: 44a43030c4 am: c2a9eac9f3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826890

Change-Id: I1c99f02985130d52658deb30b859fff4a1aacb28
2021-09-21 16:57:23 +00:00
Nate Myren
c9071cdc65 Merge "Do not fail Recognition on MODE_IGNORED for preflight" into sc-qpr1-dev am: d9a274cfa2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15837795

Change-Id: I729ce3bfd6a3d2c4fddbc083587363fc9fac3a92
2021-09-21 16:57:12 +00:00
Eric Laurent
e3a078d456 Merge "AudioService: SpatializerHelper: native head tracking callback" into sc-v2-dev am: ffce25278d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15853547

Change-Id: I222d54255f4b450ffa7da4403644a21a195f513c
2021-09-21 16:53:23 +00:00
Rambo Wang
c2a9eac9f3 Merge "Limit the uniqueness of SignalMeasurementType instead of RAN in SignalStrengthUpdateRequest" am: 68b121111d am: 44a43030c4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1826890

Change-Id: I112f0a9081735661e8bbad219c96fe935c8b31c0
2021-09-21 16:47:24 +00:00