Commit Graph

781408 Commits

Author SHA1 Message Date
Jerry Chang
07e8abc154 Merge "Add not supporting multi-instance toast to more entering split flows" into tm-qpr-dev 2022-12-07 12:20:37 +00:00
Nick Chameyev
3599c203fb Merge "[Unfold transition] Use DISPLAY_CATEGORY_ALL_INCLUDING_DISABLED for the overlay" into tm-qpr-dev 2022-12-07 11:24:12 +00:00
TreeHugger Robot
294c7325fe Merge "Trace sections for ScreenDecorations" into tm-qpr-dev 2022-12-07 10:40:08 +00:00
Nicolò Mazzucato
9e41a090cd Merge "Fix black frame when unfold animation starts" into tm-qpr-dev 2022-12-07 10:22:19 +00:00
Johannes Gallmann
18b4a499d8 Merge "Fix AnimationLib Test not running in presubmit" into tm-qpr-dev 2022-12-07 09:59:29 +00:00
TreeHugger Robot
62061b5a58 Merge "Add "not supported" string for MMI codes not supported by network." into tm-qpr-dev 2022-12-07 09:39:03 +00:00
Jerry Chang
187565c286 Merge "Fix unexpectedly dismiss split by dragging the same app to the same side" into tm-qpr-dev 2022-12-07 09:17:05 +00:00
Ilya Matyukhin
53b031cdfd Ignore AlternateTouchProvider for UDFPS_NEW_TOUCH_DETECTION
Bug: 250710937
Test: atest UdfpsControllerTest
Test: adb shell cmd statusbar flag 2200 on
Change-Id: I706c8afd0e9222e82f7cb0e580ba26f6d7bfdd96
2022-12-07 07:02:04 +00:00
Tracy Zhou
4d3d9d5e57 Merge "Log stage split exit from split to fullscreen keyboard shortcut" into tm-qpr-dev 2022-12-07 04:01:09 +00:00
Nate Myren
27a0f942d5 [automerger skipped] Merge "RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag" into rvc-dev am: 9b00dd413d am: 3e878fd78f -s ours am: 70f6c1e320 -s ours am: ff8dbfb354 -s ours am: cc488a9fb3 -s ours am: 3016eca3ca -s ours am: f0107323ff -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia4cd12d09cdaf182a498ca9e275e3c4621f236dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 03:54:41 +00:00
Nate Myren
88326c3834 [automerger skipped] RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag am: 2f30a63b11 am: 649a4db56a -s ours am: c245ec817d -s ours am: d93f16d638 -s ours am: 730010cba3 -s ours am: 34c5ea19a9 -s ours am: aca07a7539 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5f5e31916b82767026111d59b87c491b1281cbee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 03:54:27 +00:00
Nate Myren
f48469c6a0 Merge "RESTRICT AUTOMERGE Use chain start token in performOpTransaction" into tm-dev am: 0174fc355b am: d3643d62f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20510886

Change-Id: I2981e0c7000ba688847a4bae5dc7e510c38e53e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 03:53:38 +00:00
Nate Myren
f01801e804 RESTRICT AUTOMERGE Use chain start token in performOpTransaction am: 297388e374 am: e2493688b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20510886

Change-Id: I14fc193d915142d4f3754fca26e88b2f817a25ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 03:53:31 +00:00
Tracy Zhou
a1e0b9465b Merge "Map split from the current running app to META+CTRL+DPAD_LEFT and META+CTRL+DPAD_RIGHT" into tm-qpr-dev 2022-12-07 03:51:55 +00:00
Tony Huang
0de589346f Merge "Implement split resize shell transition" into tm-qpr-dev 2022-12-07 03:43:13 +00:00
Nate Myren
f0107323ff [automerger skipped] Merge "RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag" into rvc-dev am: 9b00dd413d am: 3e878fd78f -s ours am: 70f6c1e320 -s ours am: ff8dbfb354 -s ours am: cc488a9fb3 -s ours am: 3016eca3ca -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2b3085838dd2c4cb66c961494f1d4f6e853b75f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 01:44:33 +00:00
Nate Myren
aca07a7539 [automerger skipped] RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag am: 2f30a63b11 am: 649a4db56a -s ours am: c245ec817d -s ours am: d93f16d638 -s ours am: 730010cba3 -s ours am: 34c5ea19a9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie3a5d8f36c81d471ec8ddc12f815fde2e8d76d7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 01:44:30 +00:00
Nate Myren
d3643d62f2 Merge "RESTRICT AUTOMERGE Use chain start token in performOpTransaction" into tm-dev am: 0174fc355b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20510886

Change-Id: Ib967ddcd0e7bdd925206a8eb2a6f0120916d2dc7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 01:43:49 +00:00
Nate Myren
e2493688b9 RESTRICT AUTOMERGE Use chain start token in performOpTransaction am: 297388e374
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20510886

Change-Id: I5c971cb5cacf6a49d79296a94ffbb3d9b3908873
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 01:43:40 +00:00
Shan Huang
0b26f2e580 Merge "Log config change messages at INFO so that they show up in BR." into tm-qpr-dev 2022-12-07 01:32:35 +00:00
Nate Myren
3016eca3ca [automerger skipped] Merge "RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag" into rvc-dev am: 9b00dd413d am: 3e878fd78f -s ours am: 70f6c1e320 -s ours am: ff8dbfb354 -s ours am: cc488a9fb3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9d84413f588f5f514d79e62ae89b3e194037bf81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 01:20:03 +00:00
Nate Myren
34c5ea19a9 [automerger skipped] RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag am: 2f30a63b11 am: 649a4db56a -s ours am: c245ec817d -s ours am: d93f16d638 -s ours am: 730010cba3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icf07a44dc092eb93dc9d2c0e83afcf56326b431e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 01:18:14 +00:00
Nate Myren
0174fc355b Merge "RESTRICT AUTOMERGE Use chain start token in performOpTransaction" into tm-dev 2022-12-07 00:53:43 +00:00
Xiaowen Lei
897cb19e98 Guard regionSampler registering/deregistering code behind the flag.
When the flag is off, regionSampler was being created and registered, but
it actually does nothing. So guard this code behind the flag to avoid
confusion.

Note: I noticed this while debugging b/254095511. But this current CL
isn't required for the fix for the bug (ag/20597942).

Bug: 202758428
Bug: 254095511
Test: no-op. Passes existing tests.

Change-Id: I391b788debbb0e3063e72745c09b1e94b027ac83
2022-12-07 00:34:32 +00:00
Jorge Gil
9792d963ba Let DesktopModeController reorder tasks on TO_FRONT transitions
When a fullscreen task is moved to the front of the freeform TDA from
recents, any previously visible freeform apps should remain active
in front of home and behind the task that is moving to front. Since
they were sent behind everything when recents opened, they need to be
moved to the front again by the controller. Let #handleRequest accept
TRANSIT_TO_FRONT transitions as a signal to move desktop apps to the
front, just like it does for TRANSIT_OPEN.

Bug: 259453661
Test: atest DesktopModeControllerTest
Test: manual -
 1. Turn desktop mode off, close all apps from recents
 2. Launch Gmail
 3. Launch Photos
 4. Turn desktop mode on from quick settings
 5. Observe Photos is freeform and visible, Gmail is invisible behind
 home
 6. Swipe up to recents, tap on Gmail tile
 7. Observe Gmail and Photos are both visible in freeform over home
Change-Id: I826b926dbc572b48a38d4c49dd4153586ee11469
2022-12-07 00:22:57 +00:00
Nate Myren
cc488a9fb3 [automerger skipped] Merge "RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag" into rvc-dev am: 9b00dd413d am: 3e878fd78f -s ours am: 70f6c1e320 -s ours am: ff8dbfb354 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I45413c796aa076394f05fed75f5f820dfbb91857
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 23:52:01 +00:00
Nate Myren
730010cba3 [automerger skipped] RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag am: 2f30a63b11 am: 649a4db56a -s ours am: c245ec817d -s ours am: d93f16d638 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie3798a934f55ccfdd2a1301a616abdc1f6e66d16
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 23:51:46 +00:00
TreeHugger Robot
05b4c5da28 Merge changes I0fdcc086,I6beaccc5,Ice240ec2 into tm-qpr-dev
* changes:
  Explicitly collect on mobile subscriptions in MobuileUiAdapter
  Disable `NetworkControllerImpl`'s demo mode based on flag
  Add DATA_UNKNOWN to the data state parsing
2022-12-06 23:43:42 +00:00
TreeHugger Robot
33b769bc5e Merge "[Media TTT] Add a command line option to hide the undo button." into tm-qpr-dev 2022-12-06 23:31:29 +00:00
Ying Xu
f6b38c22d3 Use mWifiInfo to refresh Internet Tile when APM is enabled.
Since Android T QPR1, Wifi can now remain on when entering airplane mode. So the Interent tile will show different information depending on whether WiFi is enabled or not. On the other hand, Cellular will always be disabled whenever APM is enabled.

Bug: 259007266
Test: unit tests, manual tests
      atest -c com.android.systemui.qs.tiles.InternetTileTest

Change-Id: Ie47a687dec90dee307dddbbe35e07a1887a3db55
2022-12-06 23:28:47 +00:00
Nate Myren
ff8dbfb354 [automerger skipped] Merge "RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag" into rvc-dev am: 9b00dd413d am: 3e878fd78f -s ours am: 70f6c1e320 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2fd2877c7eb2295647264d9d91d494fbc8cb0d42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 23:11:05 +00:00
Nate Myren
d93f16d638 [automerger skipped] RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag am: 2f30a63b11 am: 649a4db56a -s ours am: c245ec817d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I41414bef7dfa8d3cf900e1175f7130b257be8e7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 23:11:00 +00:00
Lyn Han
4e386dfec6 Add FSI debug class
Bug: 243421660
Test: logging works for local development
Change-Id: I54e8bc6542dd3b8b2ea4bffc2bbe63a9534acf35
2022-12-06 14:53:09 -08:00
Evan Rosky
fc85ce03ad Merge "Set early-wake during transition animation" into tm-qpr-dev 2022-12-06 22:34:30 +00:00
Jean-Michel Trivi
e2a281aa25 AudioService: do not log sound effects in audio dumpsys
"audio" dumpsys captures the logs from PlaybackActivityMonitor.
This includes the activity of the SoundPool in AudioService which
handles the sounds effects for the UI, such as touchsounds. But
with touchsounds enabled, too many important player logs are lost
as UI playback events fill the rolling window of logs.
  The fix consists in SoundEffectsHelper giving a handle of the
PlayerBase used for effect playback to AudioService, which then
tells PlaybackActivityMonitor to not log playback events for this
player.

Bug: 236983951
Test: with touch sounds enabled, verify events absent from dumpsys audio
Change-Id: I6fb0289ef3b72e4dd505f9114dd59da174f53238
Merged-In: I6fb0289ef3b72e4dd505f9114dd59da174f53238
2022-12-06 22:25:33 +00:00
Nate Myren
70f6c1e320 [automerger skipped] Merge "RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag" into rvc-dev am: 9b00dd413d am: 3e878fd78f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I831b232720fcacd9fbbfb2069d1198071ed56842
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 21:59:53 +00:00
Nate Myren
c245ec817d [automerger skipped] RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag am: 2f30a63b11 am: 649a4db56a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I36174e9ba94d38496fe372d38b8bbfdd5b58e547
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 21:59:33 +00:00
Aaron Liu
66430ca292 [Bouncer] refine entry for bouncer user switcher.
Match the animation of the user switcher with the pin view.
Increase the duration of the animation and add a y translation animation
when invoking the appear animation.

Also refine the entry text animation. Ensure that prompt is shown first
by removing animation time. Also ensure that initial text does not
animate in so that the entry animation is better refined. Added tests as
well.

For some of the tests, ktfmt reformatted the tests...these should just
be formatting changes.

Bug: 261571180
Test: Manually open bouncer with a quick swipe up in tablet device.
Test: Added unit tests.

Change-Id: Ic36b1554a7c3c73e0e8805db972e1bd3f0de57fe
2022-12-06 13:40:10 -08:00
Nate Myren
3e878fd78f Merge "RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag" into rvc-dev am: 9b00dd413d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20621238

Change-Id: I7888e99223a3fc46536361ed4367d7462948de64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 21:23:58 +00:00
Nate Myren
649a4db56a RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag am: 2f30a63b11
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20621238

Change-Id: I8a4f9793b028f33c484476c02af3e68081cdfa45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-06 21:23:41 +00:00
Terry Wang
f3602f993a DO NOT MERGE:Deflaky testLoggingStats_search_success
This is a test-only change.
The test is trying to verify the total latency is greater than 0ms.
But if the process goes really fast, it could be done < 1ms so the total
latency is 0ms.

This issue is fixed in Android T and above in ag/16995926.

Bug: 259157403
Test: AppSearchLoggerTest
Change-Id: I15977c7b5ade1109310a98a3e9a21a406b3070a7
2022-12-06 21:15:30 +00:00
Nate Myren
9b00dd413d Merge "RESTRICT AUTOMERGE Revoke dev perm if app is upgrading to post 23 and perm has pre23 flag" into rvc-dev 2022-12-06 20:49:04 +00:00
Nicolo' Mazzucato
f980a759c6 Fix black frame when unfold animation starts
The dark scrim was added with a value of 0f (that means, completely black), and then updated in the background thread with a value of 1f (completely transparent).

This was ok when unfolding (as the overlay needed to be black at first), but not when folding (as it needs to be transparent at first)

When the background thread was slow, this was causing one completely black frame at the beginning of the animation.

Bug: 261560634
Test: start unfold animation repeatedly
Change-Id: I98e17d0204cb4d75a85d3c31c6a6faa8e58466f0
2022-12-06 20:27:10 +00:00
Brad Hinegardner
16ddd9e807 Handle DeadObjectExeption when changing users
Bug: 254633479
Test: manual verification
Change-Id: I40bd60bcb20078d548dd59d03ac612ef4a80b2c6
2022-12-06 15:18:43 -05:00
Shen Lin
3588cb06ba Fix crash when trying to dismiss dialog
Calling Dialog.dismiss() requires a safe condition, including that
dialog is shown,and activity is neither finishing nor destroying, so we
should add a precondition check here to avoid crash.

Bug: 248562161
Test: manual and atest
Change-Id: I87de2cd05680815d4bb4e80ac1e0d6e2e4a685f7
2022-12-06 14:51:31 -05:00
Michael Mikhail
93111fee94 Add New UiEvents for media dashboard
Adds two UiEvents when media session is added, the first one is logged when the carousel contains only one media player. The second event when the carousel has multiples, it is logged only once.

Bug: 241485754
Test: Tried log.e() and checked that it is working as explained in the
description.

Change-Id: I8380bfd14cde5c38b2940023e7ddce01fe3128ad
2022-12-06 19:29:02 +00:00
Presubmit Automerger Backend
a85abd5775 [automerge] DO NOT MERGE:Deflaky testLoggingStats_search_success 2p: 2c01a0bb7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20621276

Bug: 259157403
Change-Id: I0ab088b864d08cf7a54bd863ea384cc5052f12da
2022-12-06 19:18:45 +00:00
Terry Wang
2c01a0bb7e DO NOT MERGE:Deflaky testLoggingStats_search_success
This is a test-only change.
The test is trying to verify the total latency is greater than 0ms.
But if the process goes really fast, it could be done < 1ms so the total
latency is 0ms.

This issue is fixed in Android T and above in ag/16995926.

Bug: 259157403
Test: AppSearchLoggerTest
Change-Id: I15977c7b5ade1109310a98a3e9a21a406b3070a7
2022-12-06 11:15:38 -08:00
Shan Huang
0381a9bc89 Log config change messages at INFO so that they show up in BR.
Bug: 260220098
Test: Manual
Change-Id: I2f293f3659423c28381ad2484f903b1eea028431
2022-12-06 19:13:45 +00:00
Josh Tsuji
233c2f33c7 Disable light reveal migration in teamfood; it is not and was not ready.
Bug: 261602024
Test: light reveal goes back to working
Change-Id: I00f70fab289966423a035385a4a9d1371ffd8c46
2022-12-06 14:08:24 -05:00