Commit Graph

813479 Commits

Author SHA1 Message Date
Ale Nijamkin
bba346acb4 Merge "Renames customization content provider (1/7)." into tm-qpr-dev 2022-12-28 17:42:20 +00:00
Ale Nijamkin
32f475e7da Merge "Beautifies picker disabled dialogs (1/2)." into tm-qpr-dev 2022-12-28 17:41:53 +00:00
Caitlin Shkuratov
e878d24b0b Merge "[SB Refactor] Migrate alwaysShowCdmaRssi to the new pipeline." into tm-qpr-dev 2022-12-28 17:34:59 +00:00
Alex Buynytskyy
e35263ea06 Extend ownership to all FileIntegrity APIs.
Bug: 253568736
Bug: 196909329
Test: presubmit
Change-Id: Ifa3e9d5c101a72fe96256e2292aac5d0e1ff2c39
2022-12-28 09:26:48 -08:00
TreeHugger Robot
937ab16149 Merge changes Ie0da0143,I9541a914,I21f3259e,I40a6d5aa,I9c6b9ba3 into tm-qpr-dev am: 933c12efa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20803315

Change-Id: I0b0476828bdfd8b4a5d2d478dfba0f8f826e0123
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 16:57:26 +00:00
TreeHugger Robot
933c12efa1 Merge changes Ie0da0143,I9541a914,I21f3259e,I40a6d5aa,I9c6b9ba3 into tm-qpr-dev
* changes:
  [Sb refactor] Consume isInService in mobile view model
  [Sb refactor] Add Utils.isInService to mobile pipeline
  [Sb refactor] Pull the WifiRepository interface out of the impl file (2/2)
  [Sb refactor] Pull the WifiRepository interface out of the impl file (1/2)
  [Sb refactor] Move WifiRepositoryImpl to prod/ package
2022-12-28 16:13:31 +00:00
Nicolo' Mazzucato
aa55dda145 Trigger unfold animation without treshold while on keyguard
When folding, the fold animation triggers at different angles based on what's on the screen. Before this cl, it was triggering regardless of the angle only while on launcher, and after a certain threshold in all other cases.

While on keyguard, the angle depended by the app that was in foreground. (e.g. if calculator was open, and device locked, the threshold was 60 degrees).

After this change, while the keyguard is visible, there is no threshold.

It has been needed to create the intermediate UnfoldKeyguardVisibilityListener as DeviceFoldStateProvider is in the global dagger scope, while KeyguardStateController in the sysui subcomponent (so, injecting KeyguardStateController directly in DeviceFoldStateProvider is not possible).

From launcher, it is expected we don't have the information whether keyguard is visible (as we don't need it).

Bug: 261313897
Test: DeviceFoldStateProviderTest & manual
Change-Id: I07f133e96b16572448754ce2009f55e9e316b136
2022-12-28 14:45:29 +00:00
Vladimir Komsiyski
5550b0b716 Add OWNERS of virtual device as owners of the related tests.
Change-Id: I3033ab83398b8f130c9f61cbdd9282b97ec194fb
2022-12-28 12:36:47 +00:00
Vania Januar
0ed9aba0a6 Add @Nullable to BluetoothAdapter provider.
Test: compilation and StylusManagerTest
Bug: 263451493
Change-Id: I57c467566afa5635aced88eb6ed322a55cd59938
2022-12-28 11:53:32 +00:00
Bill Yi
2e8e3abfc3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f454f48da6 -s ours am: ebadaf26fc -s ours am: 4f1896b4fc -s ours am: e93b377104 -s ours am: bce013217d -s ours am: 2e98d0463f -s ours am: b4c0f42bd1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4e3f3d99fe146fb35b187963183c087e3805da19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 11:39:43 +00:00
Bill Yi
b4c0f42bd1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f454f48da6 -s ours am: ebadaf26fc -s ours am: 4f1896b4fc -s ours am: e93b377104 -s ours am: bce013217d -s ours am: 2e98d0463f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3cdf09325126c5b78aae15b4cea29980dd0bf94d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 11:11:52 +00:00
Bill Yi
2e98d0463f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f454f48da6 -s ours am: ebadaf26fc -s ours am: 4f1896b4fc -s ours am: e93b377104 -s ours am: bce013217d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5ea5fb79ef7d4f76570b0b45eee83e8eed04eb07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 10:39:45 +00:00
Jordan Demeulenaere
8a1747d82a Rename SystemUIComposeCore to PlatformComposeCore (1/2)
This CL renames the SystemUIComposeCore library to PlatformComposeCore
and moves all com.android.systemui.compose.* files to
com.android.compose.

The files will still be in
frameworks/base/packages/SystemUI/compose/core/ after this CL, and I
will move them in a follow-up CL.

Bug: 263851158
Test: Builds & presubmits
Change-Id: I31776ae19de7f64f7697f3b4af55f2d97c3fc733
2022-12-28 11:18:48 +01:00
Bill Yi
bce013217d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f454f48da6 -s ours am: ebadaf26fc -s ours am: 4f1896b4fc -s ours am: e93b377104 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6e14bb317dda2649b2c1bad3734fbb64dbd4ece2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 09:17:44 +00:00
Łukasz Rymanowski
4dba004a43 Add missing HAP_CONNECTION_STATE_CHANGED intent
Bug: 263488295
Merged-In: I631d305fd843f060069cce817517aeb0f745d970
Change-Id: I631d305fd843f060069cce817517aeb0f745d970
(cherry picked from commit ef08c8a7ea)
2022-12-28 09:01:52 +00:00
Bill Yi
e93b377104 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f454f48da6 -s ours am: ebadaf26fc -s ours am: 4f1896b4fc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6cbc310b8c1226b3128e5de7b85e82348562e97c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 08:44:31 +00:00
Bill Yi
4f1896b4fc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f454f48da6 -s ours am: ebadaf26fc -s ours
am skip reason: subject contains skip directive

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

Change-Id: I63063f46165296ab37a6b8c5d3f9f341503f027e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:39:38 +00:00
TreeHugger Robot
91e42f488b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 5264876eca -s ours
am skip reason: subject contains skip directive

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

Change-Id: I03f44b549f0b978131d58791d4fcb3e30643d1f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:27:16 +00:00
Bill Yi
669db2ac4a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7fb2df7ab1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iff58a0593bb82d484d6c1c3ac992f9caeeee93b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:27:04 +00:00
TreeHugger Robot
6d7f3af9b9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 5e1ef9273b -s ours
am skip reason: subject contains skip directive

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

Change-Id: I67f938a85421c38e246e432b081a9452ee997b2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:25:03 +00:00
Bill Yi
ade1040f23 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e5178780eb -s ours
am skip reason: subject contains skip directive

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

Change-Id: I36982d526ce47a9b7bf7487d55faa3cebd965652
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:24:53 +00:00
TreeHugger Robot
69ca5e0c0d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 33ec64b81a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6c8e4e000d4f3a8268cb2d57cdd12ba80d5ade8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:24:40 +00:00
Bill Yi
32dccdcbe2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 849c8407ba -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6925f9d2217e78ea4bf994f0089294d83df1ad0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:24:30 +00:00
TreeHugger Robot
91926b7cf1 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 575762ba1e -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ied45f97359152e39ce487cbb63712199c734aef6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:24:11 +00:00
Bill Yi
ba497ed2ed [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7e86b69608 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3ef832fcf44dcf382cb61ff0d8f1edc210ef717b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:23:57 +00:00
TreeHugger Robot
cfdba04cb1 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 821664d520 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I25b75060de4f98433c3bd5d5e0c45da7edfd9d8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:23:34 +00:00
Bill Yi
00663938b0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a123271733 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1e1080007c7a40ea3ca2e0fd8c4ecf9ba527ac7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:23:13 +00:00
Bill Yi
ebadaf26fc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f454f48da6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8fe7bb1346ce0c2b0cdeaa06d799fff53f4d6a9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 07:06:55 +00:00
TreeHugger Robot
5264876eca Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-28 06:46:25 +00:00
TreeHugger Robot
5e1ef9273b Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-28 06:46:00 +00:00
TreeHugger Robot
33ec64b81a Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-28 06:46:00 +00:00
TreeHugger Robot
575762ba1e Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-28 06:46:00 +00:00
TreeHugger Robot
821664d520 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-28 06:46:00 +00:00
Wen Zhang
74047343d7 [Bugfix]create different pendingintent via appwidgetId
avoid get wrong intent extra when start suspended app's widget

Bug: 263768644
Change-Id: I06ba867c06429a5c58ec573458edcbf8654b7ad9
Test: Build
2022-12-28 02:24:28 +00:00
Android Build Coastguard Worker
1ccf4ff691 Snap for 9439764 from 971c479068 to tm-qpr2-release
Change-Id: I932dbef3f918bdbef5aa66a55d56a3979165e5e5
2022-12-28 00:20:50 +00:00
Hawkwood Glazier
6121d4c550 Merge "Minor TAG update in PluginActionManager" into tm-qpr-dev am: 1507da6b6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20727868

Change-Id: Ia1087edf9e4846ed564f7ae81605d09ae279fc28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 22:37:42 +00:00
Hawkwood Glazier
1507da6b6b Merge "Minor TAG update in PluginActionManager" into tm-qpr-dev 2022-12-27 22:15:15 +00:00
Jeff Nainaparampil
83c369002a Merge "[People Service] Fix issue in AOSP people service where setupUser in the People DataManager is stuck" into tm-qpr-dev am: 971c479068
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20833226

Change-Id: I86b80cd9f23b616f3b50c7eb950d7f948a00d855
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 20:17:57 +00:00
Andrey Epin
7dfc70d66b Merge "Chooser custom actions API." into tm-qpr-dev am: 6b5f62cac0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20660055

Change-Id: Ibe3630f7831221a0ff9d599bf36cf808936d59d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 20:17:00 +00:00
Jeff Nainaparampil
971c479068 Merge "[People Service] Fix issue in AOSP people service where setupUser in the People DataManager is stuck" into tm-qpr-dev 2022-12-27 20:05:58 +00:00
Andrey Epin
6b5f62cac0 Merge "Chooser custom actions API." into tm-qpr-dev 2022-12-27 19:37:38 +00:00
Alejandro Nijamkin
fb0cc13c25 Quick affordance long-press failure string updated
The previous string included "to open" but many quick affordances do not
open anything (instead they turn something on or off, like the
flashlight, for example). After discussing with the UX writer, we
decided on this, more generic text.

Bug: 262776614
Test: made sure that the new string renders properly when the quick
affordance is tapped instead of long-pressed

Change-Id: I3eee7797961fea736899eb54da76f243c625484c
2022-12-27 11:28:04 -08:00
Selim Cinek
fab7478218 Fix clipping during media squishing and general behavior
We were previously remeasuring in every frame when squashing media,
because the measuredState was changed, leading to a requestLayout.
We're now separating the height from the measureHeight to avoid this.
Additionally do we adjust the height of the background children now
properly, which were previously just based on the measured height but
never updated.
This fixed a couple of issues where the view could be stuck in an odd
height because of the squishing.

Test: Test media squishing in split shade, portait, landscape, observe normal squishing
Test: atest SystemUITests
Bug: 261534024
Change-Id: I357f261e3cbbb80ddd383caca74bbc3081465d7b
2022-12-27 18:06:32 +00:00
Alejandro Nijamkin
5822b1cce4 Affordance returns to normal size after activation
There was a bug where the quick affordance button would remain scaled-up
after activation, if it opened another activity. This CL fixes that.

Fix: 263585543
Test: manually verified that the bug no longer reproduces by
long-pressing to start the camera app and then locking the device and
then getting AOD to display
TesT: manually verified that the other animations and interactions are
still working including the long press activation of on/off affordances
(tried flashlight) and the rejection shake animation

Change-Id: Ibc9a0579df713a677bb1fdee7e051c4ba7afac44
2022-12-27 10:06:18 -08:00
Alejandro Nijamkin
102b4d6769 Renames customization content provider (1/7).
KeyguardQuickAffordanceProvider has started to be used for more than
just lock screen shortcuts. This collection of CLs updates its name,
authority, and table schema to become more generically about "system UI
customization".

Fix: 262879277
Test: manually verified Settings > Display > Lock screen shows the
"shortcuts" item
Test: manually verified that the Wallpaper picker properly renders the
preview and can change the quick affordances
Test: manually verified that system UI displays the right lock screen
shortcuts

Change-Id: Ib1e33d0ddc0be8e0cd3533301cee340f95a27ddd
2022-12-27 10:06:17 -08:00
TreeHugger Robot
3ede8ab442 Merge "[Media TTT] Tweak the coloring and sizing of the receiver icon." into tm-qpr-dev am: 49c7dad14e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20816006

Change-Id: I2fc6cf19181d9d17ba1d5b319351b63af6a310d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 17:58:57 +00:00
Matt Casey
0bb59a0242 Merge "Update sharesheet owners" am: 6fabd8e878 am: 468e1a804c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2369028

Change-Id: Iddb833abbf2b67d3fa34fef452f6562a5ecc7ddb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 17:40:30 +00:00
TreeHugger Robot
49c7dad14e Merge "[Media TTT] Tweak the coloring and sizing of the receiver icon." into tm-qpr-dev 2022-12-27 17:21:26 +00:00
Matt Casey
d7d5436d52 Update sharesheet owners
- Update owners to chooser subdir.
- Add missing per-file in sharesheet implementation.

Test: presubmits
Bug: N/A
Change-Id: I4e1b5246790ed677729adacfb0f7d63c700b29c1
(cherry picked from commit 80f927d49b)
Merged-In: I4e1b5246790ed677729adacfb0f7d63c700b29c1
2022-12-27 17:08:05 +00:00
Matt Casey
468e1a804c Merge "Update sharesheet owners" am: 6fabd8e878
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2369028

Change-Id: Ifa78a6f7963e920ed65f425e800d6d92f3cc6448
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-27 16:55:52 +00:00