Commit Graph

813479 Commits

Author SHA1 Message Date
Aaron Liu
a867642f21 Merge "[Bouncer] Refine entry animation scrimmed." into tm-qpr-dev 2022-12-16 17:34:21 +00:00
Chavi Weingarten
034f57e205 Merge "Added SCVH test OWNERS file" 2022-12-16 17:27:58 +00:00
Jiaming Liu
18964627b6 Merge "Support ContextWrapper by replacing instanceof checks with token checks" into tm-qpr-dev 2022-12-16 17:26:26 +00:00
Beverly Tai
a708760840 Merge "Move active unlock chipbar flag to a ResourceFlag" into tm-qpr-dev am: e22e369431
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20748530

Change-Id: I1e2b92e3118357066372696c29ba632c8d1a1410
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 17:24:26 +00:00
Fan Zhang
98da67e031 Merge "Increase threshold for ESOS power button press detection" into tm-qpr-dev am: a685426ead
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20653809

Change-Id: I512bd65d205472bc966fe6a1dfcc8af120805f91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 17:22:45 +00:00
Beverly Tai
e22e369431 Merge "Move active unlock chipbar flag to a ResourceFlag" into tm-qpr-dev 2022-12-16 16:53:55 +00:00
Fan Zhang
a685426ead Merge "Increase threshold for ESOS power button press detection" into tm-qpr-dev 2022-12-16 16:52:52 +00:00
Alex Stetson
a5a8155976 Merge "Use consistent method to get current user" into tm-qpr-dev am: 305d1bc4c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20725183

Change-Id: I7aae2b6659f3a24dbbf21c146b5a9139375f82cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:43:19 +00:00
Automerger Merge Worker
c0536329ac Merge "Merge "increase HotwordAudioStream copy chunk size" into tm-qpr-dev am: 59af8cfca0" into tm-qpr-dev-plus-aosp 2022-12-16 16:42:23 +00:00
TreeHugger Robot
7f9af775f4 Merge "increase HotwordAudioStream copy chunk size" into tm-qpr-dev am: 59af8cfca0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20745413

Change-Id: I02f6ee09724ff899b34200d24f20d652274c035a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:42:05 +00:00
TreeHugger Robot
0b7b270cc5 Merge "increase HotwordAudioStream copy chunk size" into tm-qpr-dev am: 59af8cfca0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20745413

Change-Id: Ia8bb4f91a55db7461bb791cbd361075796ca8eee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:41:07 +00:00
Alex Stetson
305d1bc4c3 Merge "Use consistent method to get current user" into tm-qpr-dev 2022-12-16 16:30:52 +00:00
Ioana Alexandru
c6b2ffe2c8 Make aodIconTint default to white.
Previously, this defaulted to NO_COLOR (0) when the wallpaperTextColor
cannot be fetched from the context, which made some icons not show up at
all.

Bug: 260377107
Test: manual testing (issue fully reproducible with the debug
notification icon) &  atest SystemUITests

Change-Id: Ia407251621fe11ec5daac76677d6b66bf8015fa2
2022-12-16 16:18:38 +00:00
Beth Thibodeau
4fe5af7138 Fix small buttons in collapsed layout
Updates the end barrier to be constrained by the large play/pause button
rather than parent. This fixes the small buttons not being visible in
the collapsed layout if the large play/pause button is not shown.

Test: manual - verify buttons for both layout types in LTR and RTL
Fixes: 262562516
Change-Id: Ib1d72aefd89dfc7b977a743959e40db7359010fa
2022-12-16 10:15:48 -06:00
TreeHugger Robot
59af8cfca0 Merge "increase HotwordAudioStream copy chunk size" into tm-qpr-dev 2022-12-16 16:11:18 +00:00
Brad Hinegardner
6ceddd8c53 Merge "Prevent crash when on UserSwitcherActivity rotate" into tm-qpr-dev am: 7cdb42734e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20739266

Change-Id: I11afc121713bb0bb78c677188497ebaafe4ca875
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:06:17 +00:00
Vania Januar
413220d1b4 Merge "Add OWNERS for systemui tests for /stylus and /notetask." into tm-qpr-dev am: 7652dc60d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20759191

Change-Id: Idac34bfed7d7d36eec579ea24dbef3bbd157f6da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:04:27 +00:00
Nick Chameyev
1d4d3eb56f Merge "[Unfold transition] Fully manage the vignette on the background thread" into tm-qpr-dev am: c514109b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20725066

Change-Id: I6d7376119f00699a87b39f8be06995b03eeb2446
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 16:03:38 +00:00
Brad Hinegardner
7cdb42734e Merge "Prevent crash when on UserSwitcherActivity rotate" into tm-qpr-dev 2022-12-16 15:37:44 +00:00
Nick Chameyev
8874ab952f [Unfold transition] Update latency tracker to listen for animation start
We are going to introduce potential delay before
starting the animation, so updating the latency
tracker to track the end of the unfold display switch
only when the animation is started.

Bug: 258214245
Test: atest com.android.systemui.unfold.UnfoldLatencyTrackerTest
Test: manual unfold with/without animations => check that metric is reported
Change-Id: If3017719631f115579f16493136cce0d0e5e2f80
2022-12-16 15:31:29 +00:00
Vania Januar
7652dc60d0 Merge "Add OWNERS for systemui tests for /stylus and /notetask." into tm-qpr-dev 2022-12-16 15:29:58 +00:00
Nick Chameyev
c514109b3b Merge "[Unfold transition] Fully manage the vignette on the background thread" into tm-qpr-dev 2022-12-16 15:28:53 +00:00
Vania Januar
c431b17d17 Add OWNERS for systemui tests for /stylus and /notetask.
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2361940

Change-Id: Id02cbb5e7adac17bebb20044e8175dc0339fd4f6
Merge-Id: Id02cbb5e7adac17bebb20044e8175dc0339fd4f6
2022-12-16 15:27:47 +00:00
Louis Chang
73a9385100 Merge "Fix potential NPE when ActivityClientRecord is null" am: f47829a8eb am: a96babb6fa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2336783

Change-Id: I06d7ef6ec37c43f270865aef66d898b342b5727a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 15:19:52 +00:00
Vania Januar
fa49d5d758 Merge "Add OWNERS for systemui tests for /stylus and /notetask." am: 8360af1956 am: 6025645388
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2361940

Change-Id: Id02cbb5e7adac17bebb20044e8175dc0339fd4f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 15:18:45 +00:00
Louis Chang
a96babb6fa Merge "Fix potential NPE when ActivityClientRecord is null" am: f47829a8eb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2336783

Change-Id: I1c6968b21c25a525d680d31b74755a9a26b43839
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 14:46:57 +00:00
Vania Januar
6025645388 Merge "Add OWNERS for systemui tests for /stylus and /notetask." am: 8360af1956
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2361940

Change-Id: Ib529eb41a352a41c386513455d7c80bd546794bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 14:46:12 +00:00
Louis Chang
f47829a8eb Merge "Fix potential NPE when ActivityClientRecord is null" 2022-12-16 14:36:14 +00:00
Massimo Carli
cc2d539e80 Respect "nosensor" and "locked" with ignoreOrientationRequest being set
In this implementation, we always resolve the orientation for a
component as the ignoreOrientationRequest was disabled. We then
use the actual flag when deciding the display orientation and when
querying from a descendent to handle the orientation change itself.

Main use case why this is important is Camera apps that rely on those
properties to ensure that they will be able to determine Camera preview
orientation correctly

Fixes:254691921
Test: run `atest WmTests:ActivityRecordTests WmTests:TaskTests
      WmTests:WindowContainerTests`

Change-Id: I96dca18a561e2acf961a462d3a4db484f003be6f
Merged-In: I96dca18a561e2acf961a462d3a4db484f003be6f
2022-12-16 14:15:21 +00:00
Vania Januar
8360af1956 Merge "Add OWNERS for systemui tests for /stylus and /notetask." 2022-12-16 14:13:32 +00:00
Jordan Demeulenaere
3042508292 Implement the QS footer actions in Compose (1/2)
This CL reimplements the FooterActions in Compose. This is going to be
one of the first features to be hidden behind a build time flag in our
SystemUICompose build once that flag is available.

See http://b/242040009#comment20 for a video and http://ag/20745047 for
the screenshot difference between the Compose and View implementations.

Bug: 242040009
Test: atest FooterActionsScreenshotTest
Change-Id: I83df8d191c1ab5d95466471c834ac1b0903ad21a
2022-12-16 14:50:04 +01:00
Matt Pietal
c54aaa1677 Merge "Transitions - Listen for bouncer show & hide" into tm-qpr-dev am: be5367c98a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20639790

Change-Id: If23b9be9b8a4c0f256272e12eb391d307c2077bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 13:30:38 +00:00
Jernej Virag
97d020c60a [automerger skipped] Merge "Implement pull logging for Notification Memory" into tm-qpr-dev am: 052cba9142 -s ours
am skip reason: Merged-In I671c8819c25795d2a18639808830802af3bbf1eb with SHA-1 3e3f282309 is already in history

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

Change-Id: If65d9023c379489accba3055ebb27c7261b3970b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 13:30:16 +00:00
Jernej Virag
4b4b4e7135 [automerger skipped] Implement pull logging for Notification Memory am: ce6fcb94dc -s ours
am skip reason: Merged-In I671c8819c25795d2a18639808830802af3bbf1eb with SHA-1 3e3f282309 is already in history

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

Change-Id: I304834271a697c90566dba8d2399bbc6bf205668
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 13:30:08 +00:00
Ivan Chiang
6ad0e1596c Merge changes I48279bba,I3baf29a5 into tm-qpr-dev am: 9f999d0920
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20751890

Change-Id: I707e68e8d51cc5c5b1fffc6063c86017b2ce0551
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 13:29:12 +00:00
Ivan Chiang
282e85419c Hotword: Use new Audio Egress metrics instead of older one am: 81f82921d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20751789

Change-Id: I6b6db27a0ef0a7438ef1a35feac6d247c351695b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 13:28:49 +00:00
Matt Pietal
be5367c98a Merge "Transitions - Listen for bouncer show & hide" into tm-qpr-dev 2022-12-16 13:26:42 +00:00
Michał Brzeziński
62d6080bf9 Merge "Adding extra logging for tiles distribution across pages" into tm-qpr-dev am: 9316cd8e71
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20664817

Change-Id: I0856673af99337bb458c57da84f9b2387c6b42b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 13:24:19 +00:00
SongFerngWang
453c9ee2b7 [Unicast] Won't show "active" when changing active from HS to LEHS
if the 'active device' is in the member device list, then the main
device is active and then updating the main device's state.

Bug: 259892289
Test: build pass.
make RunSettingsLibRoboTests -j40 ROBOTEST_FILTER=BluetoothEventManagerTest

Change-Id: I60d7cb40cc29ea12e5d4f12c10d44eda3e2cf4fe
2022-12-16 21:18:00 +08:00
Vania Januar
3674438cf0 Fix test bug on StylusManagerTest
Bug: 257936830
Test: StylusManagerTest
Change-Id: I33914e905af59e87c546c691285b6dceaafc94b6
2022-12-16 13:13:20 +00:00
Jernej Virag
052cba9142 Merge "Implement pull logging for Notification Memory" into tm-qpr-dev 2022-12-16 13:04:12 +00:00
Ivan Chiang
9f999d0920 Merge changes I48279bba,I3baf29a5 into tm-qpr-dev
* changes:
  Populate data sizes in audio egress metrics
  Hotword: Use new Audio Egress metrics instead of older one
2022-12-16 12:56:55 +00:00
Michał Brzeziński
9316cd8e71 Merge "Adding extra logging for tiles distribution across pages" into tm-qpr-dev 2022-12-16 12:54:37 +00:00
Riddle Hsu
d47046d1e2 Merge "System crash during dismissing split in multi-user scenario" am: 49ab340c02 am: 2d615930bf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2307862

Change-Id: I3ac835734aba3cf7836a5a2c98960650759748d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 12:41:15 +00:00
Mark Punzalan
10555300ab Populate data sizes in audio egress metrics
The stream and metadata sizes are summed across all HotwordAudioStreams
in the HotwordDetectedResult. Also logged the same byte sizes.

Bug: 261793715
Bug: 244599440
Test: `statsd_testdrive 578` with sample app. The sizes in the metrics
are the same as the ones logged, and the values are in line with what
the sample app is sending in the HotwordDetectedResult.

Change-Id: I48279bba854e3e6badc530fa485bb46c2097ce44
Merged-In: I48279bba854e3e6badc530fa485bb46c2097ce44
2022-12-16 12:28:23 +00:00
Ivan Chiang
81f82921d3 Hotword: Use new Audio Egress metrics instead of older one
Bug: 261793715
Test: stasd_drive
Change-Id: I3baf29a547ee69bee7cae4ca7432c489b0bcb700
Merged-In: I3baf29a547ee69bee7cae4ca7432c489b0bcb700
2022-12-16 12:27:56 +00:00
Bill Yi
4ba342b225 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icec04cb8cf24d1de36e51cbec3dac50200a777de
2022-12-16 04:16:49 -08:00
Bill Yi
b8a19a5182 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6aeb8f065963001eb847ad554da2ff6729b5e754
2022-12-16 04:14:13 -08:00
Riddle Hsu
2d615930bf Merge "System crash during dismissing split in multi-user scenario" am: 49ab340c02
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2307862

Change-Id: Iec715c59e1475a1e7f4606c655570a62e4a05174
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 12:09:45 +00:00
Marcello Galhardo
37d8f5748f Add StylusSystemUpdateNotifier
Initial prototype to support Stylus updates.

Test: atest SystemUITests:StylusSystemUpdateNotifierTest

Fixes: b/253013763

Change-Id: If0cf51da3128232aa5cdbc04b578161cf06626de
2022-12-16 11:37:38 +00:00