Commit Graph

813479 Commits

Author SHA1 Message Date
Sanjana Sunil
08404b144d [automerger skipped] Merge "Isolate sdk sandbox data" am: ca1b446bd0 am: 1a8ac14677 -s ours
am skip reason: Merged-In I79fd5967b157c711cc75e340da7411f2b2f3bf00 with SHA-1 4b0e57f629 is already in history

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

Change-Id: Id6f696aa58b022edf8e39316b32ddaa7d2e48063
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 18:40:14 +00:00
Sanjana Sunil
1a8ac14677 Merge "Isolate sdk sandbox data" am: ca1b446bd0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2301758

Change-Id: I912b0cbe41a2c4c44bd04dd6a193ffd807e8d44e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 18:21:13 +00:00
Thomas Nguyen
6dc1fb9b97 Make NETWORK_RELEASE_TIMEOUT_MILLIS configurable by carrier
Bug: 238853167
Test: atest com.android.mms.service.MmsNetworkManagerTest

Merged-In: If96083a8491cacb9fa77131213d6408cfe2d2458
Change-Id: If96083a8491cacb9fa77131213d6408cfe2d2458
2022-12-08 18:13:18 +00:00
Sanjana Sunil
ca1b446bd0 Merge "Isolate sdk sandbox data" 2022-12-08 18:09:11 +00:00
Treehugger Robot
633d424d57 [automerger skipped] Merge "Set scan flags correctly for preloaded applications" am: ed70e4de86 -s ours am: 21e000ce1a -s ours
am skip reason: Merged-In I2ba73fcfcc46d7ddf14c2fb4dbf877f3252e7a50 with SHA-1 aafec8565e is already in history

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

Change-Id: I4e00287ace147653e7428b4bc8d809e8004c5ba2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 17:52:10 +00:00
Sebastian Achim
651137b05d [automerger skipped] Set scan flags correctly for preloaded applications am: 73d448687c -s ours am: 0a066be529 -s ours
am skip reason: Merged-In I2ba73fcfcc46d7ddf14c2fb4dbf877f3252e7a50 with SHA-1 aafec8565e is already in history

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

Change-Id: Ic5e77157853f9fa383d3c9805c83a8cfa44f3bc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 17:51:52 +00:00
Julia Tuttle
cbb3c5d960 Merge "Promote no_hun_for_old_when to teamfood" into tm-qpr-dev 2022-12-08 17:42:54 +00:00
Aaron Liu
d77c16f960 Merge "[Bouncer] refine entry for bouncer user switcher." into tm-qpr-dev 2022-12-08 17:30:04 +00:00
Aaron Liu
383be0ac55 Merge "[Bouncer] Remove margin top for bouncer view." into tm-qpr-dev 2022-12-08 17:29:40 +00:00
Treehugger Robot
21e000ce1a [automerger skipped] Merge "Set scan flags correctly for preloaded applications" am: ed70e4de86 -s ours
am skip reason: Merged-In I2ba73fcfcc46d7ddf14c2fb4dbf877f3252e7a50 with SHA-1 aafec8565e is already in history

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

Change-Id: I401f61bc8ea8008980adb536992745e16420d3c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 17:26:43 +00:00
Sebastian Achim
0a066be529 [automerger skipped] Set scan flags correctly for preloaded applications am: 73d448687c -s ours
am skip reason: Merged-In I2ba73fcfcc46d7ddf14c2fb4dbf877f3252e7a50 with SHA-1 aafec8565e is already in history

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

Change-Id: I680d91d8b80c5d58811857e27f1409d4b2da528e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 17:26:38 +00:00
Yuri Lin
df3fe37fd3 Add UiEvents for cancellation reasons previously not covered
Bug: 260852245
Test: statsd_testdrive
Change-Id: Ie976d9f826e7d53089fe65ba0735b40a79587f6f
Merged-In: Ie976d9f826e7d53089fe65ba0735b40a79587f6f
2022-12-08 17:21:36 +00:00
Treehugger Robot
ed70e4de86 Merge "Set scan flags correctly for preloaded applications" 2022-12-08 16:53:58 +00:00
Fabian Kozynski
4454139264 Polish background for controls panel.
Now the background is a #1f1f1f 1dp border around the panel.

Fixes: 261201851
Test: manual
Change-Id: Ica0c410602860c69583d50c670883919e2f4292d
2022-12-08 11:17:05 -05:00
Beverly Tai
fb952d5f3c Merge "Allow pickupGestureEnabled default configurable" into tm-qpr-dev 2022-12-08 16:16:55 +00:00
Jernej Virag
b37bd87a54 Merge "Add flag to gate Notification memory logging via statsd" into tm-qpr-dev 2022-12-08 16:12:03 +00:00
Seth Moore
d6405bf424 Merge "Add remote_provisioning system service" am: 222a476ac5 am: 9430c5fed0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2263722

Change-Id: Id71268d27836111005aa1678c180c4a9081363a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 16:11:30 +00:00
Yuri Lin
7c1e219d6d Add an enum for decisions about whether to launch FSI.
This change splits shouldLaunchFullScreenIntentWhenAdded into two parts: one that returns the specific decision for whether to launch a full screen intent for an entry, and one that logs that decision.

It also adds a sub-category of "suppressed by DND" called "suppressed only by DND", where DND is the only thing stopping an FSI from launching but all other cases would allow it.

Bug: 248325248
Test: NotificationInterruptStateProviderImplTest

Change-Id: Idd1299312edb58d005e089d89db7921c15c6e2bc
2022-12-08 11:09:33 -05:00
Fabian Kozynski
7136a959a8 Move trigger for dialog to change controls settings
Refactor the dialogs that were in ControlsActionCoordinatorImpl so they
can be called from multiple places. Preserve the behavior if
`FLAGS_USE_APP_PANELS` is false.

If the flag is true, they are called when `ControlsActivity` is
started on a locked device, requiring unlock
to actually change the settings. Regardless of the response, the
controls space is shown (it will only be triggered to change the
ALLOW_TRIVIAL_CONTROLS setting).

Test: atest com.android.systemui.controls
Fixes: 260731518
Change-Id: I1fd972d64a6f90179d4a9b282bb8fe4ac38048e6
2022-12-08 10:53:46 -05:00
Riddle Hsu
e3a8bcca10 Use seamless for collecting transition with fixed rotation
When swiping up to enter PiP (auto-pip), the transition type will
PiP. If it affects display orientation at the same time, the
next activity will have fixed rotation transform. Then the display
should also use seamless rotation to avoid taking screenshot
and flickering of overlay windows (e.g. round corner) because the
draw transaction is not synced.

Also correct task transform for a corner case: expanding PiP to
different orientation, but display orientation is changed to
previous orientation during the animation. Then there is no next
transition to reset rotation transform of task. So manual reset
it when receiving a cancel event of the change.

Bug: 260925940
Test: Enable shell transition.
      Use Chrome to play a Youtube video in fullscreen landscape.
      Enter PiP mode by swiping to home.
      The round corner and cutout should not be flickering.
Change-Id: Ibebf033233e43e778b94b7947ab935ca5bc76388
2022-12-08 23:50:26 +08:00
Lucas Silva
3a1994eac8 Merge "Move condition logic to shared lib so it can be reused in DockSetup apk" into tm-qpr-dev 2022-12-08 15:49:11 +00:00
Seth Moore
9430c5fed0 Merge "Add remote_provisioning system service" am: 222a476ac5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2263722

Change-Id: If44dd0e853f47267f37656ef0095894294e140cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 15:49:00 +00:00
Seth Moore
222a476ac5 Merge "Add remote_provisioning system service" 2022-12-08 15:33:57 +00:00
Jordan Demeulenaere
df264869d3 Remove references to "google-sans" in SystemUITypography
Test: Manual
Bug: 230605885
Change-Id: Ib5602aea3803086cadaf1eb700e7916cd3325732
2022-12-08 16:08:36 +01:00
Jordan Demeulenaere
8c222cabb6 Define the SystemUI typography
This CL defines the material typography that is going to be used by
Compose code in SystemUI. Most of the code from this CL was forked from
the Google Material implementation in google3 [1, 2, 3, 4], so that our
typography is consistent from 1P apps (and with the Google Material
spec). For this reason, I changed only what I had to + reformatted the
files using ktfmt. The direct references to "google-sans" will be
removed in http://ag/19500381 to keep this CL as close as possible from
the google3 classes.

Note that this new typography might not be 100% consistent with the
current text styles used in SystemUI, given that they are not consistent
with the new M3 spec. Those kind of inconsistencies will be fixed later,
as we figure out how SystemUI is going to be aligned with M3 in general
(and not w.r.t. Compose in particular).

[1] http://google3/java/com/google/android/libraries/material/compose/Typography.kt
[2] http://google3/java/com/google/android/libraries/material/compose/tools/tokens/library/md/first_party/TypographyTokens.kt
[3] http://google3/java/com/google/android/libraries/material/compose/tools/tokens/library/md/first_party/TypeScaleTokens.kt
[4] http://google3/java/com/google/android/libraries/material/compose/tools/tokens/library/md/first_party/asynctype/TypefaceTokens.kt

Bug: 230605885
Test: Manual
Change-Id: I116ef944c79e09fb0d4b0914c3da71a946fc169a
2022-12-08 16:08:35 +01:00
Fabian Kozynski
0bfdbbf4c2 Merge "Fix crash when trying to dismiss dialog" into tm-qpr-dev 2022-12-08 14:58:42 +00:00
Bill Yi
89433700b6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I202d9ba75a6c1fa91b42650a7444b849d91c520d
2022-12-08 06:19:44 -08:00
Hassan Ali
1c4e492c86 Add framework-configinfrastructure.stubs lib
A temporary solution to add framework-configinfrastructure stubs java lib
until we add configinfrastructure module to AOSP.
This change will enable us to add framework-configinfrastructure as a
dependency to other modules.

Test: m
Merged-In: I504b1be870003c0a1a785ab04c04a737f77d33fb
Change-Id: I60a843f2741e537ce36465a836cbf8502e2b4a63
2022-12-08 14:19:22 +00:00
TreeHugger Robot
3c86fce3a9 Merge "Remove old footer actions implementation" into tm-qpr-dev 2022-12-08 14:12:11 +00:00
TreeHugger Robot
acc8dd3223 Merge "Logging fold update name instead of just integer for easier bug report reading" into tm-qpr-dev 2022-12-08 13:52:07 +00:00
Bill Yi
0c6b5143bf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I517889f6f9ec5c1b95a3ded9af761b3099f5c5a6
2022-12-08 05:48:59 -08:00
Chris Poultney
56a0d71936 Merge "Add home/lock screen argument to remaining methods that require one" into tm-qpr-dev 2022-12-08 13:43:03 +00:00
Jernej Virag
cfe20e8b38 Add flag to gate Notification memory logging via statsd
This flag will enable/disable automated statsd snapshotting of
notification memory consumption.

Bug: 235451049
Test: n/a
Change-Id: I4db4e5828bed85ba1bb85b22f680f10975b5e9c2
2022-12-08 14:02:06 +01:00
Bill Yi
0b8226917e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9e24ae9fec4fa28bcd068bc23de7dffe966b35b1
2022-12-08 04:52:51 -08:00
Bill Yi
518fbad053 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7535b2a7a98c2abbb7467f99ecf10d10c52d03e0
2022-12-08 04:49:43 -08:00
Bill Yi
2b0c9c1b91 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1ac29a74f1146433fe60851d0fa17f846df27ff5
2022-12-08 04:07:53 -08:00
Rhed Jao
972db539a3 Merge "Update OWNERS of PatternMatcher files" am: 1ece5472a2 am: f61a68d838
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2331191

Change-Id: If6eb16538c9caf1afcdd3f1e8383ab427e3d501f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 09:44:27 +00:00
Rhed Jao
f61a68d838 Merge "Update OWNERS of PatternMatcher files" am: 1ece5472a2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2331191

Change-Id: Ia40976bec58bdbf07886f781784c66320c62b7fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 09:25:23 +00:00
Rhed Jao
1ece5472a2 Merge "Update OWNERS of PatternMatcher files" 2022-12-08 09:14:04 +00:00
Bill Yi
9f11d242da Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I623f095004f5e6a96e4a91a3a5823788609ea613
2022-12-08 00:56:08 -08:00
TreeHugger Robot
b9e3f7135a Merge "Increase power-press timeout" into tm-qpr-dev 2022-12-08 08:56:02 +00:00
Sally Qi
126c03837f Use android.hardware.graphics.common-ndk and composer3-ndk wrappers.
- To avoid tediously update android.hardware.graphics.composer3-V*-ndk
  and android.hardware.graphics.common-V*-ndk on all users, use wrappers
  instead.

Bug: 243429120
Test: builds
Change-Id: I1418307159dbaa9d2acc44997f13a41d629d56c0
Merged-In: I1418307159dbaa9d2acc44997f13a41d629d56c0
(cherry picked from commit 3ea28f1985)
(cherry picked from commit 96989f343b09794b29e6d226c361aa732c9d1533)
2022-12-08 08:31:03 +00:00
Chris Li
d7994f8a97 Merge "Request change transition for layout direction change for legacy" into tm-qpr-dev 2022-12-08 07:36:55 +00:00
Louis Chang
2f821c9001 Prevent IndexOutOfBoundsException while removing activities
IndexOutOfBoundsException was thrown when traversing the Task
from bottom to top because the activity could be removed from
the Task and the activities are less than its original size.

Bug: 249658397
Bug: 260643770
Test: 1) Start multiple activities in a Task
      2) Swipe up to home
      3) Kill the app process from shell
      4) Remove the task from Recents
Change-Id: I64955415c04da30d7dc8a4681474ceb06db1e88b
Merged-In: I64955415c04da30d7dc8a4681474ceb06db1e88b
2022-12-08 07:08:02 +00:00
Shaowei Shen
31b52d1bad Merge "[Output Switcher] Update device selection layout" into tm-qpr-dev 2022-12-08 06:22:40 +00:00
Lucas Lin
94a93e3bcd Merge "Clear underlying network info in onDefaultNetworkLost()" am: a4ee732c81 am: 88c8af5a65
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2317019

Change-Id: I361624b0babeb4ba638ff55f3ce3a8d6e9dfc06c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 06:17:18 +00:00
Lucas Lin
88c8af5a65 Merge "Clear underlying network info in onDefaultNetworkLost()" am: a4ee732c81
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2317019

Change-Id: Ie55da2db695e9899f93fe5ae0415eb34e3d6e82f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 05:56:40 +00:00
Chris Li
1d90ad8bab Merge "Fix ActivityEmbedding animation with new split in different layout" into tm-qpr-dev 2022-12-08 05:35:40 +00:00
Chris Li
53c5aa6792 Merge "Fix customized activity open/close animation backdrop color" into tm-qpr-dev 2022-12-08 05:34:00 +00:00
Jing Ji
72e5627c7a [automerger skipped] Merge "DO NOT MERGE: Context#startInstrumentation could be started from SHELL only now." into rvc-qpr-dev am: 95907cfca2 -s ours am: d577c51c3d -s ours am: f684abcd18 -s ours am: 64da92499e -s ours am: e166e03ed3 -s ours am: d094458104 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic989e2775c0515ffc1c663b1bd54b8abe7333042
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 05:31:25 +00:00