Commit Graph

780734 Commits

Author SHA1 Message Date
Massimo Carli
cf1f4a3d4a Merge "Update a size-compat restart icon" into tm-qpr-dev 2022-12-06 15:38:40 +00:00
TreeHugger Robot
5cb3c55774 Merge "BrightnessTracker should accomodate multiple ambient sensors" into tm-qpr-dev 2022-12-06 12:55:54 +00:00
Kriti Dang
0736fbfd8d Merge "Initialise the brightness value with Float.NaN in PersistentDataStore" into tm-qpr-dev 2022-12-06 12:04:39 +00:00
Riddle Hsu
6d4dc22840 Merge "Defer creation of input sink surface until sync completes" into tm-qpr-dev 2022-12-06 12:04:29 +00:00
Kriti Dang
f49d3de387 Initialise the brightness value with Float.NaN in PersistentDataStore
If there is no DisplayState, and it gets initialised because of any
other field, for instance refresh-rate, the brightness gets initialised
by 0. Since 0 is a permissible value for brightness, is causes issues by
changing the brightness to 0.

Bug: 259517441
Test: atest PersistentDataStoreTest
Change-Id: I532afc9e9d437199922f83f3c4440127a86a88f5
2022-12-06 12:01:52 +00:00
Issei Suzuki
d002c621c2 Merge "Fix WM shell crash when targets belong to a different display." into tm-qpr-dev 2022-12-06 11:33:49 +00:00
Nicolò Mazzucato
67c61bf59b Merge "Remove top and bottom parent constraint from album_art as it has a fixed height" into tm-qpr-dev 2022-12-06 10:31:28 +00:00
Ioana Alexandru
adbbfc2a92 Merge "Trim strings added to persistent snoozed notification storage." into tm-qpr-dev 2022-12-06 10:28:27 +00:00
Piotr Wilczyński
073fab8f88 BrightnessTracker should accomodate multiple ambient sensors
Refactor BrightnessTracker so that it receives an array of lux readings rather than listening to the light sensor

Bug: 215100807
Test: atest BrightnessTrackerTest
Test: atest AutomaticBrightnessControllerTest
Change-Id: I9807ecb39ac8962d2dae9e53c68e6eadbba5c50f
Merged-In: I9807ecb39ac8962d2dae9e53c68e6eadbba5c50f
2022-12-06 09:56:17 +00:00
Jordan Demeulenaere
b81944dee2 Merge changes Ibc9d5374,I28a14ab9 into tm-qpr-dev
* changes:
  Fix parental control dialog
  Fix NPE in QSSecurityFooterUtils
2022-12-06 09:20:53 +00:00
TreeHugger Robot
be4e61e5b5 Merge "[RESTRICT AUTOMERGE] WCT#setReparentLeafTaskIfRelaunch" into tm-qpr-dev 2022-12-06 08:44:43 +00:00
TreeHugger Robot
7d447f6ed5 Merge "Add settings default handling for STATUS_BAR_SHOW_VIBRATE_ICON" into tm-qpr-dev 2022-12-06 08:40:02 +00:00
Jeff Chang
835262451e [RESTRICT AUTOMERGE] WCT#setReparentLeafTaskIfRelaunch
This CL allows disassociating the leaf task if relaunched and
reparented it to TDA as root task for split-screen.

Bug: 236317871
Test: atest WindowOrganizerTests

Change-Id: I6704fab733ed7d239d7004c93d3d2f471ac94822
Merged-In: I6704fab733ed7d239d7004c93d3d2f471ac94822
2022-12-06 06:55:09 +00:00
TreeHugger Robot
64e177c029 Merge "Only create DesktopModeController when flag is on" into tm-qpr-dev 2022-12-06 06:44:30 +00:00
Riddle Hsu
ff81457133 Merge "Reduce operations in postApplyAnimation for shell transition" into tm-qpr-dev 2022-12-06 06:26:13 +00:00
TreeHugger Robot
ad2993445f Merge "Use resolved configuration for shell transit clip rect" into tm-qpr-dev 2022-12-06 05:50:50 +00:00
Tiger Huang
80c145dca0 Merge "Reduce unnecessary measure" into tm-qpr-dev 2022-12-06 05:46:04 +00:00
TreeHugger Robot
73420439bc Merge "Update fontchain_linter for non-compat font" into tm-qpr-dev 2022-12-06 03:52:29 +00:00
TreeHugger Robot
d38d5bcc0d Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-06 03:44:10 +00:00
TreeHugger Robot
b6bee9de84 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-06 03:44:10 +00:00
TreeHugger Robot
cc11592d38 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-06 03:44:10 +00:00
TreeHugger Robot
9369c99f7e Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-06 03:44:10 +00:00
TreeHugger Robot
2c6945bfd3 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-06 03:44:10 +00:00
TreeHugger Robot
85db8adf81 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-06 03:44:10 +00:00
Tracy Zhou
977d57cd5b Merge "Implement Split to fullscreen with META+CTRL+DPAD_UP" into tm-qpr-dev 2022-12-06 03:06:03 +00:00
TreeHugger Robot
306175e9dc Merge "Check if ParsedMainComponent is null before dereferencing" into tm-qpr-dev 2022-12-06 01:38:48 +00:00
Winson Chung
a40e02d531 Merge "Log recents listener when dumping" into tm-qpr-dev 2022-12-06 00:54:03 +00:00
Seigo Nonaka
11e64ca5c8 Update fontchain_linter for non-compat font
Bug: 255901351
Test: m fontchain_lint
Change-Id: If60de61504188a7222e2efa67705b8bf4400dbda
Merged-In: If60de61504188a7222e2efa67705b8bf4400dbda
2022-12-05 23:45:57 +00:00
Aaron Liu
28bd55410a Merge "[Bouncer] hide/show keyboard when focus is..." into tm-qpr-dev 2022-12-05 23:41:17 +00:00
Ats Jenk
bedb8136d3 Only create DesktopModeController when flag is on
Ensure that DesktopModeController and DesktopModeTaskRepository are only
created when they are needed, when the desktop mode flag is on.
With the previous dagger configuration WMShellBaseModule relied on
submodules to provide an implementation if one exists.
If the submodule does have the implementation defined, it is always created and
supplied to WMShellBaseModule provider method.
Provider method in WMShellBaseModule then decides, based on flags,
whether to return that implementation or not. But the instance is always
created, regardless of that flag check.

This change ensures that DesktopModeController and
DesktopModeTaskRepository are only instantiated if WMShellBaseModule
provider methods will provide a corresponding instance. This is achieved
by relying on lazy instance creation by dagger.
If the instances won't be provided due to flags being off, the instances won't be
created.

Bug: 260908558
Test: build and run sysui with desktop mode flag off, observe
DesktopModeController object is not instatiated

Change-Id: Ia155b8e079072e543c98463a58ab1907729db7b0
2022-12-05 23:41:13 +00:00
TreeHugger Robot
4d01e66b93 Merge "Do not request WAKE transition when device wake up." into tm-qpr-dev 2022-12-05 23:25:46 +00:00
TreeHugger Robot
dae823a3b6 Merge "Making sure QS are visible when expanding shade with heads-up notification" into tm-qpr-dev 2022-12-05 23:20:27 +00:00
Michael Mikhail
88aec368d4 Merge "[Media TTT] Handle invalid chip transitions" into tm-qpr-dev 2022-12-05 22:52:51 +00:00
Massimo Carli
0a3a1aad5a Update a size-compat restart icon
Fixes: 260220096
Test: Manual.

Change-Id: Iaa95839b26af6dc536788a3aeb43dbc2fb579985
2022-12-05 22:46:43 +00:00
Jorge Gil
456e2fe90b Merge changes Ib2cc8d90,I6f2751b3 into tm-qpr-dev
* changes:
  Only bring desktop app to front when necessary
  Sort tasks by Z-order instead of lastActiveTime
2022-12-05 22:44:42 +00:00
Ying Xu
b250c79ea6 Merge "Remove the activity info from InternetTile" into tm-qpr-dev 2022-12-05 22:43:36 +00:00
Massimo Carli
4556613637 Merge "Log letterbox persistent positioning" into tm-qpr-dev 2022-12-05 22:34:24 +00:00
John Wu
f7e8fc97f9 Check if ParsedMainComponent is null before dereferencing
Bug: 240151494
Test: m
Change-Id: I2d225efa747df06cb7513d7ace84a06de67ee895
2022-12-05 21:59:12 +00:00
John Wu
1cc6b20282 Merge "Disable intent filter enforcement in startActivityFromRecents" into tm-qpr-dev 2022-12-05 21:58:12 +00:00
Nicolo' Mazzucato
a29cd25a67 Remove top and bottom parent constraint from album_art as it has a fixed height
As the height is fixed, the bottom constraint is not needed. With the new ConstraintLayout version they were causing a conflict that ended up making the media player with a smaller height.

Bug: 261475673
Test: QSMediaPlayerContent
Change-Id: Ia5373a624e1c597af8d4899f9743672df23c9c88
2022-12-05 21:41:45 +00:00
David Saff
0ff970a960 Merge "Create MemoryTrackingTestCase for convenient heap dumping" into tm-qpr-dev 2022-12-05 21:17:24 +00:00
David Saff
6ae141f73c Create MemoryTrackingTestCase for convenient heap dumping
Test: manual checking with BubblesTest
Change-Id: I74a641e2d4fccff8f9184a05d0c4ce052f5241fa
Bug: 261482343
2022-12-05 21:15:34 +00:00
Caitlin Shkuratov
1c79c55c4e Merge "[Tests] Ignore flaky/failing ConfigurationControllerImpl test." into tm-qpr-dev 2022-12-05 20:46:31 +00:00
Gareth Vaughan
4cfed2aea9 Fixing test that is breaking in some environments. am: 735a3d612d am: 2b54e1af5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20618518

Change-Id: Ibef15a4882f3696417fb1c95d3bdd3bc6fff4860
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-05 19:57:49 +00:00
Michal Brzezinski
c4c5987b65 Making sure QS are visible when expanding shade with heads-up notification
QS was not visible because we were not updating QS expansion when heads up notification motion was in progress. Now we will do it when swiping down, so after going below starting movement position.

Fixes: 259447896
Test: show heads up notification -> swipe down on it -> QS should be visible throughout the whole down motion
Change-Id: Id54d7ac289fdd5bb527d9aa985e2bff90c4a4307
2022-12-05 19:41:35 +00:00
Gareth Vaughan
2b54e1af5b Fixing test that is breaking in some environments. am: 735a3d612d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20618518

Change-Id: Icc219ece6264da7faed31e598fa09d1c73700608
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-05 19:28:25 +00:00
Ying Xu
9ed1c59414 Remove the activity info from InternetTile
Activity info is not used by the InternetTile, so we can remove them to
avoid unnecessary tile updates.

Bug: 260714553
Test: Unit tests
Change-Id: I24575d87909db3d1824a37503458f1b7bdbced2e
2022-12-05 19:15:06 +00:00
Edward Savage-Jones
f16c38760b Add settings default handling for STATUS_BAR_SHOW_VIBRATE_ICON
Make the Secure.STATUS_BAR_SHOW_VIBRATE_ICON default configurable

Bug: 253992986
Test: manual - see issue
Change-Id: Ibada490c823a47ef145d9b50cadd4838c687711e
Merged-In: Ibada490c823a47ef145d9b50cadd4838c687711e
2022-12-05 19:12:31 +00:00
Bill Yi
d3b50de430 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2f8a4161f9e241e7124db11a8318c05cc94f761b
2022-12-05 19:00:35 +00:00
Tracy Zhou
0fce291799 Implement Split to fullscreen with META+CTRL+DPAD_UP
Bug: 246661489
Test: https://recall.googleplex.com/projects/f4cc906f-d337-414e-aea8-d5434a0c6e88/sessions/77b9b268-4abb-4703-af72-fc0412f7312e
Change-Id: Ie68e2c8a83879d3a9e91baea0be68e14d5dd9604
2022-12-05 18:56:40 +00:00