Commit Graph

760612 Commits

Author SHA1 Message Date
Sudheer Shanka
6db81c15df Allow shell uid without checking the package name.
Bug: 230779051
Test: manual
Change-Id: I2867a15840a0987c948179e2f8069e652c4a0c1f
2022-05-24 17:37:48 -07:00
TreeHugger Robot
2a3709618b Merge "Fix switching a background task into split screen unexpectedly" into tm-dev 2022-05-18 18:11:39 +00:00
Ben Lin
26b096d288 Merge "Apply PiP Params if there was a deferred info." into tm-dev 2022-05-18 18:02:09 +00:00
Winson Chung
35640f948e Merge changes I1978ce3a,I79160004 into tm-dev
* changes:
  Add workaround for new back flow with legacy recents animation
  Ensure recents input consumer can be focused in Overview
2022-05-18 17:23:38 +00:00
Hongwei Wang
c3b917ad97 Merge "Add null-check before reparenting content overlay" into tm-dev 2022-05-18 16:41:37 +00:00
Chavi Weingarten
fd304f2fbb Merge "Don't inflate mSplitDecorManager in sync transaction callback" into tm-dev 2022-05-18 16:17:02 +00:00
TreeHugger Robot
5843318c84 Merge "Add latency instrument for loading share sheet" into tm-dev 2022-05-18 15:45:53 +00:00
TreeHugger Robot
fa4a7135fd Merge "Updated the document regarding T data stack" into tm-dev 2022-05-18 15:38:46 +00:00
Miranda Kephart
22703341cb Merge "Make sensitive text/image both look the same" into tm-dev 2022-05-18 15:05:06 +00:00
Miranda Kephart
300b970951 Merge "Add share button to clipboard overlay" into tm-dev 2022-05-18 15:04:42 +00:00
TreeHugger Robot
33674c8375 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 14:56:13 +00:00
TreeHugger Robot
89da1d5f66 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 14:56:13 +00:00
Miranda Kephart
be2681d3e9 Merge "Hide edit buttons on clipboard and clipboard smart actions" into tm-dev 2022-05-18 14:54:38 +00:00
Fabian Kozynski
5834bd57e7 Merge "Do not use mStaleListener if tile is listening" into tm-dev 2022-05-18 14:09:44 +00:00
Bill Yi
66642324cb Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 13:27:42 +00:00
Bill Yi
6d58653a3f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 13:27:42 +00:00
Bill Yi
a558ca9d52 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 13:27:42 +00:00
Bill Yi
6196522099 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 13:27:42 +00:00
Bill Yi
41469faf9b Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 13:27:42 +00:00
Bill Yi
0677e7b334 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 13:27:42 +00:00
Bill Yi
4ed258badc Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 13:27:42 +00:00
Bill Yi
7c0413d0ae Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 13:27:42 +00:00
Matt Pietal
659341ffd4 Merge "Fix screen off after panel expansion" into tm-dev 2022-05-18 12:29:01 +00:00
TreeHugger Robot
71188e553d Merge "Delete config_killableInputMethods setting" into tm-dev 2022-05-18 10:50:29 +00:00
TreeHugger Robot
36e07fa1e4 Merge "Replace locking JNI array methods" into tm-dev 2022-05-18 10:19:10 +00:00
TreeHugger Robot
3f58f8161f Merge "Avoid NullPointerException in MediaRouterService" into tm-dev 2022-05-18 09:38:29 +00:00
Issei Suzuki
61a7196fb5 Merge "Revert ProtoLog to Slog in framework.jar" into tm-dev 2022-05-18 09:29:22 +00:00
Linus Tufvesson
4ac00b46f4 Merge "Allow some cross activity touches" into tm-dev 2022-05-18 08:05:50 +00:00
TreeHugger Robot
ab3b6131de Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-18 08:00:17 +00:00
TreeHugger Robot
ed57953565 Merge "Camera: Add videoStabilizationMode to Camera session stats" into tm-dev 2022-05-18 06:57:56 +00:00
TreeHugger Robot
79286a97fd Merge "[SparseSetArray] optimize copy constructor" into tm-dev 2022-05-18 06:32:34 +00:00
Tony Huang
514a576b9e Fix switching a background task into split screen unexpectedly
If a task in split starts a new task or an adjacent task, it will
put the current splitting task behine it in the split. But when
users switch to the backgrond task, we would like to launch it in
fullscreen since it's shoiwng as a fullscreen tile in overview.

To fix this, the patch evicts any non-visible tasks in split when
detecting it's going to recent. So background tasks won't be launched
into split screen from overview anymore.

Fix: 232497373
Test: manual
Test: pass existing tests
Change-Id: I577aeeabda76fab88cd734af32ea8a69083ad3d3
2022-05-18 13:59:53 +08:00
TreeHugger Robot
47c160d537 [automerger skipped] [DO NOT MERGE] [conflict] Merge "Make sure callingPackage belongs to callingUid when checking BG-FGS restrictions." into rvc-dev am: a70add46f3 am: a4bbe303ff -s ours am: 043d3bd55f -s ours am: bb5255b7d2 -s ours am: 329eb9d4b2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0b38eb440ae951630d0c990c75f58d4c5c1776b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 05:19:44 +00:00
TreeHugger Robot
329eb9d4b2 [automerger skipped] [DO NOT MERGE] [conflict] Merge "Make sure callingPackage belongs to callingUid when checking BG-FGS restrictions." into rvc-dev am: a70add46f3 am: a4bbe303ff -s ours am: 043d3bd55f -s ours am: bb5255b7d2 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id28c9e0890ee32a9440a7ddef2420c22f1ba6aac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 05:00:13 +00:00
TreeHugger Robot
bb5255b7d2 [automerger skipped] [DO NOT MERGE] [conflict] Merge "Make sure callingPackage belongs to callingUid when checking BG-FGS restrictions." into rvc-dev am: a70add46f3 am: a4bbe303ff -s ours am: 043d3bd55f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2f046c98476769427b282c92b9df1c8d75283cf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 04:38:01 +00:00
TreeHugger Robot
043d3bd55f [automerger skipped] [DO NOT MERGE] [conflict] Merge "Make sure callingPackage belongs to callingUid when checking BG-FGS restrictions." into rvc-dev am: a70add46f3 am: a4bbe303ff -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0e9added2c94f78647023c0bbdfe1c4fb625d20c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 04:17:14 +00:00
Lucas Dupin
d8dbe24c35 Merge "Avoid warning log from InteractionJankMonitor in VolumeDialogImpl" into tm-dev 2022-05-18 03:33:56 +00:00
Wei Sheng Shih
f55e364598 Merge "Check task switch by comparing leaf task." into tm-dev 2022-05-18 02:16:28 +00:00
Matt Casey
2f6f3aa732 Merge "Style fixes for mini resolver" into tm-dev 2022-05-18 02:12:04 +00:00
Chris Li
25616a3532 Merge "Ignore orientation request in ActivityEmbedding split" into tm-dev 2022-05-18 01:52:04 +00:00
Jerry Chang
3b16585140 Merge "Fix not callback onTaskMovedToFront when dismissing split" into tm-dev 2022-05-18 01:25:03 +00:00
Joanne Chung
79c786ba8f Merge "Apply material 3 to fill dialog/save ui" into tm-dev 2022-05-18 00:44:52 +00:00
TreeHugger Robot
a4bbe303ff [DO NOT MERGE] [conflict] Merge "Make sure callingPackage belongs to callingUid when checking BG-FGS restrictions." into rvc-dev am: a70add46f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18356706

Change-Id: Ie110b8cfd17e441789f225ca8743d60a65365a92
Merged-In: Ic14fc331a9b5fbdbcfe6e54a31c8b765513bfd89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-18 00:33:45 +00:00
Atneya Nair
0c24bb2d2d Replace locking JNI array methods
Certain JNI methods utilize (PrimitiveCritical) a lock on the gc and
other JVM resources to avoid copying array sections. In AudioEffect, all
the arrays we wish to read are small, and not worth this cost.
Additionally, holding this lock while going into blocking calls can lead
to runtime issues.

Test: atest AudioEffectTest
Bug: 231038541
Change-Id: I80a88f503c2efcd9778998e3f8bc78fd512ad5fc
2022-05-17 20:16:18 -04:00
TreeHugger Robot
92e6896842 Merge "Don't bootloop if GNSS is unavailable." into tm-dev 2022-05-17 23:52:18 +00:00
Nikita Ioffe
0782f3ea80 Drop caches of apks-in-apex if APEX was updated
When an APEX is updated, we need to drop the cache for the apks that
belong to it. This change does that by making use of the new
updatedDuringThisBoot field in ActiveApexInfo.

With this change the apk-in-apex cache problem is almost solved, the
only remaining piece is to clean up the stale cache entries after the
APEX update has completed. It will be done in a separate cl.

Bug: 225435110
Test: manual
Test: stage mediaprovider APEX
Test: crash system_server
Test: reboot device
Test: check MediaProvider apk inside was updated
Change-Id: I080e9e21370fd9c44d4a45b3fe61d127066123d8
Merged-In: I080e9e21370fd9c44d4a45b3fe61d127066123d8
2022-05-17 23:42:25 +00:00
TreeHugger Robot
a70add46f3 Merge "Make sure callingPackage belongs to callingUid when checking BG-FGS restrictions." into rvc-dev 2022-05-17 23:37:35 +00:00
Bill Yi
4419ca0974 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2485a733e564364d81145cf8ef236ba6626c80f3
2022-05-17 16:17:26 -07:00
TreeHugger Robot
6bcc34ca8c Merge "Allow hardware feedback on low battery mode." into tm-dev 2022-05-17 23:16:57 +00:00
Lucas Dupin
426c815c77 Merge "Fix text crossfade" into tm-dev 2022-05-17 22:52:22 +00:00