Commit Graph

772314 Commits

Author SHA1 Message Date
TreeHugger Robot
e847f7ed3b Merge "Fix keyguard dismiss animation with occludable activities." into tm-d1-dev 2022-08-04 11:41:51 +00:00
TreeHugger Robot
d600010bc5 Merge "Convert TaskFragmentOrganizer callbacks to a transaction callback" into tm-qpr-dev 2022-08-04 11:12:36 +00:00
TreeHugger Robot
4099b89eda Merge "Turn off the new back arrow in Teamfood." into tm-qpr-dev 2022-08-04 10:51:53 +00:00
TreeHugger Robot
a3b829c166 Merge "[DO NOT MERGE]Revert "Migrate KeyguardClockSwitch to new shared Clock library"" into tm-qpr-dev 2022-08-04 09:39:51 +00:00
TreeHugger Robot
8415396e06 Merge "Respect CentralSurfaces being optional in NavBarHelper" into tm-qpr-dev 2022-08-04 09:35:10 +00:00
TreeHugger Robot
0556d45eec Merge "[Large screens] Do not animate clock when turning on display not on AOD" into tm-qpr-dev 2022-08-04 09:26:29 +00:00
Edgar Wang
e1ba912e3b Merge "Apply phrase based line breaking on most of Preference" into tm-qpr-dev 2022-08-04 09:18:50 +00:00
TreeHugger Robot
9e9bd1e401 Merge "Fixed VIMS to postpone ASSISTANT rule change on pre-created users." into tm-qpr-dev 2022-08-04 09:16:27 +00:00
Bill Yi
7bb48cd915 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I265e736c416be1435735e0f07782718263ed4d28
2022-08-04 01:57:10 -07:00
Chandru
db1d91a6b2 Add more unit tests for the current face auth logic in KUM
Bug: 232876541
Test: atest KeyguardUpdateMonitor passes
Change-Id: Idaed50985d4ae3605c280e83e3af6acb465332f2
2022-08-04 07:47:35 +00:00
Bill Yi
d27fbff075 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I53b952e577c2f6fbd6fb1cc4a4667cf9cc38a1b9
2022-08-04 00:43:19 -07:00
Bill Yi
d9b2fda5ec Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I76f6b791a0d92ec9f792de18ad90b0c6c5b95cf8
2022-08-04 00:38:37 -07:00
Bill Yi
c142d28561 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5ceec48c250cd50bbadf45d4bc71359e4057c853
2022-08-04 00:34:46 -07:00
Arthur Hung
7fbd925342 Merge "Mark IWindowFocusObserver as oneway interface" into tm-qpr-dev 2022-08-04 07:19:25 +00:00
Louis Chang
df4e467f94 Merge "Do not send new Intent to non-exported activity when navigateUpTo" into tm-qpr-dev 2022-08-04 07:13:40 +00:00
Aseem Kumar
aa58f99079 DO NOT MERGE
Move accountname and typeName length check from Account.java to AccountManagerService.

Bug: 169762606
Test: atest AccountManagerServiceTest
Change-Id: I80fabf3a64c55837db98ff316e7e5420129c001b
(cherry picked from commit 0adcadb0b2)
Merged-In: I80fabf3a64c55837db98ff316e7e5420129c001b
2022-08-04 06:54:29 +00:00
Andrey Epin
4cb516d8bb Merge "Make Chooser 4-column on tablets" into tm-qpr-dev 2022-08-04 05:59:36 +00:00
Evan Rosky
9847d708d7 Merge "Strip transition information from activityoptions when sent to app" into sc-v2-dev am: eeab60091c am: 5a154b395a am: 85817e6590
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19518999

Change-Id: I97d1c2c87625ac8405452d64b922c9b06e6ed5a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 05:48:25 +00:00
TreeHugger Robot
22affe07b4 Merge "[SB Refactor] Create the callback collector object for the new pipeline and have the processor connect to it." into tm-qpr-dev 2022-08-04 05:45:52 +00:00
Evan Rosky
85817e6590 Merge "Strip transition information from activityoptions when sent to app" into sc-v2-dev am: eeab60091c am: 5a154b395a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19518999

Change-Id: Id85f7d2eeaf467cc5c77213379fff81b57c4a67f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 05:23:58 +00:00
Evan Rosky
5a154b395a Merge "Strip transition information from activityoptions when sent to app" into sc-v2-dev am: eeab60091c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19518999

Change-Id: I2996d813bc8a89c220e7c89efdd064d3c7ef3fdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 04:58:41 +00:00
Tony Huang
effcf27740 Merge "Fix split overlay by drag drop launch" into tm-qpr-dev 2022-08-04 04:44:19 +00:00
Andrey Epin
754656a669 Merge "Update icon only once" into tm-qpr-dev 2022-08-04 04:43:17 +00:00
Evan Rosky
eeab60091c Merge "Strip transition information from activityoptions when sent to app" into sc-v2-dev 2022-08-04 04:30:29 +00:00
Evan Rosky
4c78e5c98e Merge "Revert "Strip transition information from activityoptions once it is read."" into sc-v2-dev am: 1099b25b2d am: d7ae033815 am: 2e763d31d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19517194

Change-Id: If8f1ab91e07e72b49859593c77471f54d399a367
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 04:18:30 +00:00
Yein Jo
6ac6ce9365 Merge "Add ellipse shape to the ripple." into tm-qpr-dev 2022-08-04 03:56:33 +00:00
Yein Jo
b9e7744729 Merge "Make RippleShader support circle and rounded box shapes." into tm-qpr-dev 2022-08-04 03:56:16 +00:00
Evan Rosky
2e763d31d2 Merge "Revert "Strip transition information from activityoptions once it is read."" into sc-v2-dev am: 1099b25b2d am: d7ae033815
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19517194

Change-Id: I75303fa1000a2a5ca6233daa8c75fbcdce1238ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 03:53:28 +00:00
Evan Rosky
d7ae033815 Merge "Revert "Strip transition information from activityoptions once it is read."" into sc-v2-dev am: 1099b25b2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19517194

Change-Id: I0b8d234013f3551354f815533f2b4576b9100a48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-04 03:26:51 +00:00
Andrey Epin
d7e183e5ad Merge "Set default list view update to 0" into tm-qpr-dev 2022-08-04 03:13:55 +00:00
Evan Rosky
1099b25b2d Merge "Revert "Strip transition information from activityoptions once it is read."" into sc-v2-dev 2022-08-04 03:04:57 +00:00
Chris Li
8980a9fe87 Pass Task configuration changed for all TaskFragments at once
Before, we passed Task configuration changed for every embedded
TaskFragment. Now, we only passed one Task configuration changed for the
whole Task. The organizer will then update TaskFragments in the Task
accordingly.

Bug: 240519866
Test: atest WmTests:TaskFragmentOrganizerControllerTest
Change-Id: I755c11a1bcee0dd0305a090b229e867b79eee46d
2022-08-04 10:50:11 +08:00
Chris Li
6b94ca2d5f Convert TaskFragmentOrganizer callbacks to a transaction callback
Before, we have several different callbacks, such as
onTaskFragmentAppeared, onTaskFragmentInfoChanged, etc. As migrating to
Shell transition, we need a new model to better sync between app
process, WM Core and Shell.

The flow will be:
1. WM Shell startTransition with a WindowContainerTransaction
2. After apply the WCT, notify TaskFragmentOrganizerController
3. TFOrganizerController pack the TF related events into one transaction
4. TFOrganizerController call deferTransitionReady and send the
   transaction to the TFOrganizer in app process
5. TFOrganizer update TFs based on the transaction and apply a WCT
6. When TFOrganizerController get that WCT, call continueTransitionReady

Bug: 240519866
Test: pass existing
Change-Id: I110953f7b73f565a2b1299ef5c3827eaa39e84b8
2022-08-04 10:32:34 +08:00
Evan Rosky
0d03e6f1fc Strip transition information from activityoptions when sent to app
The implementation of shared-element transitions takes the
ActivityOptions from the calling activity and sends them to
another activity. This means that any sensitive information
passed into ActivityManager via ActivityOptions can make its
way to an unrelated app. Recently a RemoteTransition object
was added which includes some sensitive information.

This CL strips the sensitive information from the activity
options before sending it to anonther app.

Bug: 237290578
Test: atest ActivityManagerTest#testActivityManager_stripTransitionFromActivityOptions
Change-Id: Ifa08fc195698f02bf70ca386178c67f6ba4a14ea
2022-08-04 01:30:53 +00:00
TreeHugger Robot
d2194850f2 Merge "Clean up most Shade package warnings" into tm-qpr-dev 2022-08-04 00:35:16 +00:00
Edgar Wang
e8cff4feea Apply phrase based line breaking on most of Preference
- move related change to v33 folder for bater maintenance

Bug: 232992171
Test: manual
Change-Id: I269000147bddb027299367e2178f43597d8ab76c
2022-08-04 00:35:04 +00:00
Aseem Kumar
9ccc396765 Move accountname and typeName length check from Account.java to AccountManagerService.
Bug: 169762606
Test: atest AccountManagerServiceTest
Change-Id: I80fabf3a64c55837db98ff316e7e5420129c001b
(cherry picked from commit 0adcadb0b2)
2022-08-04 00:13:19 +00:00
Benedict Wong
32013bb060 Merge changes Ib3cbdbfa,Ic98e3906 into tm-qpr-dev
* changes:
  Minor cleanups in VPN
  Make VPN more testable and update NC during network change
2022-08-03 23:37:32 +00:00
Sunny Goyal
63985967cb Fixing getSafeZone() method in AdaptiveIcon
Bug: 240335326
Test: atest FrameworksCoreTests:android.graphics.drawable.IconTest#testWithAdaptiveBitmap -- --abi x86_64
Change-Id: I1204bd759a347a9635dfb48e71ff65cef1f75f9d
2022-08-03 23:17:55 +00:00
Jack Yu
d59d93d019 Merge "Supported UNKNOWN in IWLAN handover rule" into tm-d1-dev am: 2c6ac09bda
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19509981

Change-Id: Ief68ee442ce7a3404f4e5422f8e691448da441bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-03 23:11:21 +00:00
Cutter Coryell
8e317e9e23 Load back-gesture model on background thread.
Loading the back-gesture model and its assets on the UI thread can
block the UI thread for ~100 ms. This change frees up the UI thread
by loading the model on a background thread. Back-gesture detection
can still occur while the model is loading.

Fix: 218329819
Test: atest OnBackInvokedDispatcherTest BackAnimationControllerTest BackNavigationControllerTests
Change-Id: If222311318c96a8b1d27916ccebf83697e3d9ad1
2022-08-03 15:55:43 -07:00
Jack Yu
2c6ac09bda Merge "Supported UNKNOWN in IWLAN handover rule" into tm-d1-dev 2022-08-03 22:46:16 +00:00
Sarah Chin
d9ac485b1f Supported UNKNOWN in IWLAN handover rule
Extended handover rule to support the scenario that
handover should be blocked when source network goes
out of service.

Test: Basic testing + Wifi calling handover test + atest DataNetworkControllerTest
Bug: 234095834
Change-Id: I68c23f970af2a554ab438f630363be4591664cbb
2022-08-03 22:45:53 +00:00
Alex Stetson
a10c44e0fa Respect CentralSurfaces being optional in NavBarHelper
CentralSurfaces is an optional element in SystemUI so some extensions
may not include this. Therefore, it needs to be checked if it is present
before use.

Bug: 241105832
Test: atest CarActivityServiceTaskMonitorUnitTest --rerun-until-failure
20, atest com.android.systemui.navigationbar

Change-Id: I32f66562af699e16a0a5deb3937c002f9fa2ef09
2022-08-03 14:50:04 -07:00
Govinda Wasserman
dd63d1e128 Move Kotlin test helpers into shared directory
Test: Tested locally
BUG: 241286279
FIX: 241286279
Change-Id: I111bd143030a7a3b6dd6e1e0d8df4d9889588b64
2022-08-03 16:53:23 -04:00
Darrell Shi
5f02150a8b Rename LockscreenTargetFilter.
This change renames LockscreenTargetFilter to
LockscreenAndDreamTargetFilter, because it is now shared between both
the lockscreen and dream surfaces.

Bug: 233580657
Test: atest LockscreenAndDreamTargetFilterTest
Change-Id: Ic6998a0cdc57fb42f1d4b414ad0305d721df0180
2022-08-03 20:45:54 +00:00
Kweku Adams
5e51251c3e Make sure prefetch tracking affects job readiness.
Make sure that marking the prefetch constraint as satisfied or not
actually impacts a job's readiness state.

Bug: 241107883
Test: atest CtsJobSchedulerTestCases
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Change-Id: I6f8dc887c8ba27f21809aefe2219b85265f1aa29
(cherry picked from commit 2813ac0717)
2022-08-03 20:20:54 +00:00
Ben Lin
f5b0a3e3f7 Merge "Don't resize PiP on aspect ratio change if nothing changed." into tm-qpr-dev 2022-08-03 20:16:29 +00:00
Evan Rosky
d1b32da845 Revert "Strip transition information from activityoptions once it is read."
This reverts commit 0b3ad39abf.

Reason for revert: Broke NexusLauncherTests:MemoryTests

Change-Id: Ibc8e9f516054f017e9db2e5608cf6806531ab554
2022-08-03 20:15:33 +00:00
Garfield Tan
6a2e636f34 Fix some issues that make caption insets remain
This CL does the following:
* Remove caption insets when releasing the window decor
* Update caption insets in InsetsController when the caption is in WM
  shell
* Dump LocalInsetsSourceProviders to help debug related issues

Bug: 241029178
Test: The caption type of insets provider is removed when window decor
      is released.
Test: atest WindowDecorationTests
Change-Id: Ia20e1958588de3a7d965b3ac3d3e4333c67dff36
2022-08-03 12:57:27 -07:00