Commit Graph

761889 Commits

Author SHA1 Message Date
TreeHugger Robot
f8ea185f37 Merge "Crash invalid FGS notifications" into rvc-qpr-dev am: e91ae52a85 am: 67d1edb349 am: 436ae96917
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17865553

Change-Id: Ia6a9c0e943a26de446ca241163941a7b51c6882a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:15:15 +00:00
TreeHugger Robot
40d3ec8c4e [automerger skipped] Merge "Update ServiceState broadcast for location permissions" into sc-dev am: 0d2e7006ce am: 93f9dfff6c -s ours
am skip reason: Merged-In I9784527d6d79235830f562c1944562f5a6ac1fb3 with SHA-1 f8e793e6ed is already in history

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

Change-Id: I73e613f92427d37bd63ecea01ec2ea70585ebd8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:14:52 +00:00
TreeHugger Robot
81dc3e972b [automerger skipped] Merge "Add excludedPackages parameter to broadcast" into sc-dev am: a44e416cfa -s ours am: d207efc576 -s ours
am skip reason: Merged-In I9a331f71c7052b294d4eada0f0f658dba989d881 with SHA-1 c0ce69bc8d is already in history

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

Change-Id: I27ae6e44e5e0154dbe759c6f8e3b2e2c8450a3de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:13:56 +00:00
Presubmit Automerger Backend
653d911ef9 [automerge] Add excludedPackages parameter to broadcast 2p: c0ce69bc8d am: 2be0f088f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18298311

Change-Id: Id2108a8727dd3526095986fc98158e20fe1e9319
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:13:27 +00:00
TreeHugger Robot
7ff8d5b930 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: 2ff1f22701 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I028f59e09fadeffe6ca6c7789d0ec30a0b9c7742
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:12:36 +00:00
TreeHugger Robot
981b43a077 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: 51cba73a0a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I48186a7a72756cd584781593d04ffa37e2f76a65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:11:21 +00:00
TreeHugger Robot
9f8843577d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: dcbc911060 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I52636b0588a56a9f732300bc53bb5689861642a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:10:11 +00:00
TreeHugger Robot
90f5a41363 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: 5ab885dd21 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idc3b21479218e3f8434541988dde988da873bd56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:09:15 +00:00
TreeHugger Robot
e4fce6ad34 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: 7f58c78978 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iaaef4931e94d1736012e46dc9132f700fb8b4139
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:08:07 +00:00
TreeHugger Robot
14d7dedae9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-mainline-prod am: 997452b800 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I47db1152862603506e95f9cb9a79c6f955047513
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:04:55 +00:00
Bill Yi
a8d797fe6c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1d4ea9842b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie195ab7904abc5a232adea344a36f618635ec012
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 00:03:59 +00:00
Joseph Oh
8f2db0f74b Import translations. DO NOT MERGE ANYWHERE
Change-Id: I7f27007d6c653e228fb4faef71fc84ec96467e19
2022-06-23 22:47:34 +00:00
TreeHugger Robot
e2fbef15eb Merge "Only show running apps for the current user+profiles" into tm-dev 2022-06-23 19:33:11 +00:00
Kholoud Mohamed
b46f52192b Merge "Fix enterprise resources ID typos" into tm-dev 2022-06-23 18:15:32 +00:00
Tyler Gunn
9f268ea186 Merge "Update InCallService API documentation to clarify role and binding req." into tm-dev 2022-06-23 16:29:54 +00:00
TreeHugger Robot
f15eaff65e Merge "Revert "Revert "[Media TTT] Turn the TTT flag off for Android T.""" into tm-dev 2022-06-23 16:25:36 +00:00
kholoud mohamed
657becf15e Fix enterprise resources ID typos
Bug: 236943522
Test: manual testing
Change-Id: I5705ac7586cb73b7bc2bd60bb792d0a0a951ed74
2022-06-23 16:39:08 +01:00
TreeHugger Robot
d39f0f7cfd Merge "Prevent re-entrant calls to onPause" into tm-dev 2022-06-23 14:54:51 +00:00
Jiakai Zhang
e8a0838648 Merge "Fix a logic error in getDexoptNeeded." into tm-dev 2022-06-23 14:24:00 +00:00
TreeHugger Robot
7a1c701712 Merge "Change Bluetooth apex mountpoint" into tm-dev 2022-06-23 10:21:35 +00:00
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
Evan Severson
f228f63d21 Only show running apps for the current user+profiles
The counting of the number of apps correctly filters out apps running in
other users, but when the information is fetched to show the UI the
filtering isn't applied.

Test: Manual
Fixes: 236614285
Change-Id: Ida07b03be89b58481ac8c531e536e963789f49b7
2022-06-22 15:18:16 -07:00
Issei Suzuki
6eaacb50f2 Merge "Ignore overriding pending animaiton for unlock transition." into tm-dev 2022-06-22 21:18:21 +00:00
Tyler Gunn
8f360d8a18 Update InCallService API documentation to clarify role and binding req.
Update InCallService API docs to clarify what happens if an app no longer
fulfils the requirement of the dialer role.  Also update documentation to
clearly indicate when the platform may show a warning to the user due to
a null binding.

Test: Docs only change.
Fixes: 236864749
Change-Id: Ief6225513a7aefefa9c029a02cc1a3511b236d44
2022-06-22 13:37:53 -07:00
Caitlin Cassidy
9b0f383819 Revert "Revert "[Media TTT] Turn the TTT flag off for Android T.""
This reverts commit e4e4056d5a.

Reason for revert: CTS tests are fixed in linked topic.

Change-Id: Iefed77f0eb679e41a37d11d0c337dc5dd1c9a1e2
2022-06-22 20:36:43 +00:00
William Escande
7b012e937e Change Bluetooth apex mountpoint
Apex name has been changed to com.android.btservices
Changing mount point accordingly
Bug: 235892590
Test: Flash / boot bt / look logs & pair a device

Change-Id: I8cff5f6449ee19466b3df571a40e062964a9e46c
2022-06-22 13:19:14 -07:00
Matt Pietal
6c1d067e9a Prevent re-entrant calls to onPause
This can occur when launching an occluding activity where the user has
user the password bouncer. The IME animation begins, but is then
canceled in favor of the activity being launched, which begins a chain
of events that start a second call to pause.

Fixes: 236348317
Test: manual (follow steps in bug to launch occluding activity)
Change-Id: I158504872d41c96f1f6f27cab481945cd11c27e0
2022-06-22 17:46:00 +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
Jiakai Zhang
80ee5fc12d Fix a logic error in getDexoptNeeded.
When an app has already been compiled with "speed-profile", it should
not be re-compiled with a worse compiler filter such as "verify", even
if the odex file can be public after then.

Bug: 236682949
Bug: 236816601
Test: atest AdbRootDependentCompilationTest#testCompile_usedByOtherApps
Change-Id: I290096bf8192a6f695ab8fc8e2a24edbc10ecd74
2022-06-22 14:15:11 +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