Commit Graph

761851 Commits

Author SHA1 Message Date
TreeHugger Robot
37e033dbc3 Merge "Immediately notify VM of TOP process state" into tm-dev 2022-06-23 06:34:41 +00:00
Louis Chang
725d1534ad Merge "Do nothing when a finishing Activity configuration changed" into tm-dev 2022-06-23 00:30:19 +00:00
Shaowei Shen
3a4731d949 Merge "[Output Switcher] Sets TemporaryAllowList when transfer from local to remote (or oppsite way)" into tm-dev 2022-06-22 23:53:24 +00:00
Issei Suzuki
6eaacb50f2 Merge "Ignore overriding pending animaiton for unlock transition." into tm-dev 2022-06-22 21:18:21 +00:00
Oriol Prieto Gascó
75c201f935 Merge "Use com.android.bluetooth as the bluetooth stack APK" into tm-dev 2022-06-22 17:18:46 +00:00
shaoweishen
547f613a80 [Output Switcher] Sets TemporaryAllowList when transfer from local to
remote (or oppsite way)

app will create new UMO when transfer between local and remote,
and it will produce Exception if app is background, so set it
to TemporaryAllowList before start transferring.

Bug: 235339353
Test: atest atest MediaOutputAdapterTest MediaOutputControllerTest MediaOutputBaseDialogTest MediaOutputDialogTest MediaOutputGroupAdapterTest MediaOutputGroupDialogTest
Change-Id: I32a823919b48fd784d354858c7e3b1070a723e28
Merged-In: I32a823919b48fd784d354858c7e3b1070a723e28
2022-06-22 15:55:02 +00:00
Shaowei Shen
82c3268cbe Merge "[Output Switcher] Use Thread-safe list to store mediaDevices in MediaManager" into tm-dev 2022-06-22 08:01:56 +00:00
Andrii Kulian
cfe0279f69 Merge "Check Task windowing mode when reporting display features" into tm-dev 2022-06-22 05:19:15 +00:00
shaoweishen
84d0224973 [Output Switcher] Use Thread-safe list to store mediaDevices in
MediaManager

Test: build pass
Bug: 235183673
Change-Id: Ic00c1085f3ddc3c9bf68815a4ef96a5f1391556c
2022-06-22 01:11:57 +00:00
Daniel (Ying Wai) Fan
fe44acf0d7 Merge "Revert "[Media TTT] Turn the TTT flag off for Android T."" into tm-dev 2022-06-21 23:52:35 +00:00
Jared Duke
f0f1fb99fe Immediately notify VM of TOP process state
The delay was introduced to suppress JIT activity during startup.
However, ART no longer uses the expicit process state signal as an input
to informing JIT activity, so the delay can be removed.

By forwarding the process state immediately, ART can make more informed
decisions about activity based on process state, e.g., suppressing
madvise calls for less important (non-foreground) processes.

Bug: 235390330
Test: m + presubmit + boot tests
Change-Id: Ia95a76f86cf4c38bf89e56f954dbf59e0083ec50
Merged-In: Ia95a76f86cf4c38bf89e56f954dbf59e0083ec50
2022-06-21 15:41:46 -07:00
Daniel (Ying Wai) Fan
e4e4056d5a Revert "[Media TTT] Turn the TTT flag off for Android T."
This reverts commit 4da2f8be76.

Reason for revert: The CL is causing test breakage b/236749332.

Change-Id: Iaf922eaa612f6f7d8bfb32dd3575192af039c8cb
Bug: 236749332
2022-06-21 22:37:45 +00:00
Caitlin Cassidy
3b84c43c1e Merge "[Media TTT] Turn the TTT flag off for Android T." into tm-dev 2022-06-21 18:40:34 +00:00
Issei Suzuki
6920cf5546 Ignore overriding pending animaiton for unlock transition.
System app can request to override app transition animation using
the following hidden APIs.

- IWindowManager#overridePendingAppTransitionRemote
- Activity#registerRemoteAnimations
- IActivityTaskManager#registerRemoteAnimationsForDisplay

We usually give the lowest priority for the overrides registered by
the last API, since it defines default transition animaiton for a given
transition type and others are used to overide more specific cases.

However remote animation for unlock transition is also used to sync
keyguard status between server_process and system ui, even system app
must not override it.

Bug: 231556392
Test: manual
  1. Press Power button to display the lock screen.
  2. Press Power button and the volume down button at the same time to
     take a screenshot.
  3. Tap the screenshot preview that appears in the lower left corner
     of the screen.
  4. Execute Fingerprint authentication to unlock the screen.
Change-Id: I16593c1aa7e7799e355aafbe47832e5c3b23c0cc
2022-06-21 18:24:07 +00:00
Shan Huang
1deb1af4a7 Merge "Pass the values of the MotionEvent instead of the event instance itself to BackAnimation." into tm-dev 2022-06-21 18:13:38 +00:00
TreeHugger Robot
77f103bc32 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-21 16:17:20 +00:00
TreeHugger Robot
65ded46c54 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-21 16:17:20 +00:00
Ben Miles
a2b0efdc12 Merge "Add ANR info to traces for all builds" into tm-dev 2022-06-21 15:52:58 +00:00
Riddle Hsu
d6ad543b7c Merge "Use top activity for fixed rotation from snapshot starting window" into tm-dev 2022-06-21 14:40:15 +00:00
Riddle Hsu
832730d33a Use top activity for fixed rotation from snapshot starting window
Assume T=trampoline activity, M=main activity.
When launching T into an existing task which contains the existing M:
The task will have
 Top    = T (no window)  = 'activity'
 Bottom = M (has window) = 'topFullscreenActivity'
Because the real top launching activity is T, we should use it
for checking whether to apply fix rotation. Otherwise fixed rotation
will be skipped because M is not the current top activity, which
will cause the snapshot starting window to be half cropped.

Also make sure the trampoline activity has the same rotation as
the snapshot. Because the snapshot starting window will be shown
on the trampoline first and then transfer to the existing activity.

This relates to commit a95bd4a that enables snapshot starting window
to take effect across trampoline activity.

Bug: 236200669
Test: Assume A,B are landscape singleTask activities with the same
      task affinity. A will be finished (clear-task-stack) after
      starting B. Launch the app and return to home and launch it
      again. The starting window should not be cropped.

Change-Id: I11cea671c0e6b9a58ba28f28ce0f735eb576c55d
2022-06-21 20:15:21 +08:00
Louis Chang
b6297b6a46 Do nothing when a finishing Activity configuration changed
Primary Activity and secondary Activity were both finished
while starting another Activity with FLAG_ACTIVITY_CLEAR_TASK
flag. The secondary container was then removed and the primary
container was resized to fullscreen while the organizer gets
the secondary TaskFragment info-changed event. And the primary
container was removed by primary TaskFragment info-changed event
afterward.

Since the primary Activity was resized before completely being
destroyed. The organizer got an onActivityConfigurationChanged c
allback and resulted in another placeholder activity being launched.

Bug: 236272623
Test: making Duo calls
Change-Id: I851828f739a4937725510d99cbdfae9ed212a023
2022-06-21 09:19:05 +00:00
Bill Yi
d2685032b2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idd7b2a6aca4fa6a96e30a0c1c8fbcad28e987cd5
2022-06-21 01:47:44 -07:00
Bill Yi
948e3c4e24 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3568d46d9bbe92ad76f7f0d2d91b68706b9f51d2
2022-06-20 23:58:14 -07:00
Vadim Caen
1c6de844ce Merge "Prevent callback registration when back flag is disabled" into tm-dev 2022-06-20 18:53:00 +00:00
Elis Elliott
2dc5f6e9f5 Merge "Update the docs for the provisioning extra AllowOffline." into tm-dev 2022-06-20 17:10:01 +00:00
Elis Elliott
d38bf5adac Update the docs for the provisioning extra AllowOffline.
update to reflect the new usage of the extra in forcing platform side
provisioning.

Bug: 236597525

Test: n/a
Change-Id: Ie98e9aaa790d1c0bd4b2d5e2b85a81bd8e3c92e3
2022-06-20 12:34:11 +00:00
Martijn Coenen
512a4fe715 Add SDK level check to adding sandbox UIDs.
ConnectivityServiceTest builds against the latest Vpn framework code,
but when run on an older base image (eg 'S'), said framework code might
run into runtime errors calling new APIs. Until the test is decoupled,
do the SDK level check here.

Bug: 230548427
Bug: 232420362
Test: Build
Change-Id: If453e16e680f46cf2b9eb769e5607fb5513b32ac
(cherry picked from commit ab678b983b)
Merged-In: If453e16e680f46cf2b9eb769e5607fb5513b32ac
2022-06-20 10:27:07 +00:00
Vadim Caen
a2e45f1ed1 Prevent callback registration when back flag is disabled
When the enableOnBackInvokedCallback is set to false (or not set),
registering an OnBackInvokedCallback should be a no-op to avoid
overriding the default compat callback.

Test: Manual testing registering a callback on an app with the flag
disabled and doing a back gesture. Currently we don't have test
executing a back gesture so automated tests are not possible

Bug: 235206960

Change-Id: I54d843f11130a78ed5a68cbe4722e601a2086ee1
Merged-In: I54d843f11130a78ed5a68cbe4722e601a2086ee1
(cherry picked from commit aa48dc3c2d)
2022-06-20 11:40:18 +02:00
TreeHugger Robot
41bcf6803e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 7b16d91315 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986219

Change-Id: I014e516a1ed2bfae6a23b48f7a19cc2ce6f92b97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:06:23 +00:00
Bill Yi
df661f4585 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 89bcac62e3 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986219

Change-Id: I0fe35d42c80e8537ac7d090f5494b0be9d22b1f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:06:12 +00:00
TreeHugger Robot
45e4bc63da [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 28f8641d3d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986217

Change-Id: I567a58f4cccb9ccf5beb7f3741eb0dd74d94b659
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:05:59 +00:00
Bill Yi
c20acb95e6 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a0cf385810 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986217

Change-Id: I8ace3ff5f0c7ed7ccdc9d0b8893076282809143b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:05:48 +00:00
TreeHugger Robot
b8f343920e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: a41b724a95 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986137

Change-Id: I7089dcd9c41ed88e1e3e11ff1cbd76263793b662
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:05:26 +00:00
Bill Yi
58782460a4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 91b202fdeb -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986137

Change-Id: Ie21f4ec997cc32abbc4f8a37864bc89cc052091a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:05:06 +00:00
TreeHugger Robot
f257ed9d97 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 42005e5cc4 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986130

Change-Id: Ief57bf13d233e9f944afd35070f8c01a8d247860
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:04:44 +00:00
Bill Yi
5f75ba8f96 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 37fa2f3acc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986130

Change-Id: I773c06d4f75f9faca646b086b0fbcfb287425e05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 08:04:28 +00:00
TreeHugger Robot
7b16d91315 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-06-20 07:41:05 +00:00
TreeHugger Robot
28f8641d3d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-06-20 07:41:05 +00:00
TreeHugger Robot
a41b724a95 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-06-20 07:41:05 +00:00
TreeHugger Robot
42005e5cc4 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-06-20 07:41:05 +00:00
TreeHugger Robot
e67f93c365 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: f7bc199271 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986210

Change-Id: I863cb0fc0568a1318747749ad65d84da6279bc44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:26:46 +00:00
Bill Yi
0a3fb7ef98 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 520386c4b2 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986210

Change-Id: Ia70b8cc99fbe51edd7928c45e9425518ce50aa5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:26:35 +00:00
TreeHugger Robot
3ec6e23fa3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 5a4241b73e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986207

Change-Id: I0e61b53b2d203112741a492baf4b74c26fffee71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:26:14 +00:00
Bill Yi
0aed8aa8d0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8109121cef -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986207

Change-Id: I6fcd61331598c2db9b46fd5433fa24e19d283d57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:26:03 +00:00
TreeHugger Robot
457ce4ca4d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 8b739e5268 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986132

Change-Id: I72476b056fc6a1c323a47054532560d429388157
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:25:52 +00:00
Bill Yi
29f65113a4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f5caa35c26 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18986132

Change-Id: I1dc136c5fdbc6891a8a890be658d52eba6db131f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:25:41 +00:00
TreeHugger Robot
d9a744a8ed [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: e4b3e6916d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18984623

Change-Id: Ie8f088f3f88937e7c1e4da3e07e8e40353e2fde3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:25:29 +00:00
Bill Yi
819c64560c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 52acd0f061 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18984623

Change-Id: I472513eb7e394039ffbead6c24489d36ee5aacd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:25:19 +00:00
Bill Yi
773a30deeb [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: cc2bcd2a9e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18984265

Change-Id: Iba6089c3af6afedef59588b11e1d5cb0ae606ed1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-20 07:24:42 +00:00
TreeHugger Robot
fbced2cfe2 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-06-20 07:07:54 +00:00