Commit Graph
54966 Commits
Author SHA1 Message Date
vadimt b0e0f5f44a Adding better diags when SysUI crashes during Launcher test
Test: presubmit; sys ui tests where this rule is already used
Bug: 187761685
Change-Id: Ib4491e5c7ebbea0bb3b17fc8c4b3a6c59a3bdb2a
2022-02-28 18:59:25 +00:00
Pat Manning 2da28dcdc9 Refactor force visible nav bar into new secure setting.
Decouples force visible from kids mode setting.

Bug: 217668440
Test: manual
Change-Id: Ia8a2b30eab7633e3b686c9afebd7e683ef984deb
2022-02-28 14:55:47 +00:00
TreeHugger Robot 804056bf42 Merge "Adding tests for themed icons support in Launcher" into tm-dev am: c1d401d1fa am: dfb4bab359
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17007428

Change-Id: I8894cbc29fc9145b7dd7dd4337f17a24112ed6bf
2022-02-26 01:34:43 +00:00
TreeHugger Robot fd84b1e7a7 Merge changes from topic "presubmit-am-3bd5a8079aeb499da822e72c97b293b0" into tm-mainline-prod am: 8a2623b70b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17007428

Change-Id: Ided86edb11b2f93b148950034f20d0b880603008
2022-02-26 01:34:36 +00:00
TreeHugger Robot bfaa2833fc Merge "Adding tests for themed icons support in Launcher" into tm-dev am: c1d401d1fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17007428

Change-Id: I9bbfe21e8d19250120dec6f05d5a7d19215bec06
2022-02-26 01:33:53 +00:00
TreeHugger Robot dfb4bab359 Merge "Adding tests for themed icons support in Launcher" into tm-dev am: c1d401d1fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17007428

Change-Id: I2f5e08d9aa6f47eb436f748b558610e26986df9b
2022-02-26 01:33:40 +00:00
TreeHugger Robot c1d401d1fa Merge "Adding tests for themed icons support in Launcher" into tm-dev 2022-02-26 01:17:46 +00:00
TreeHugger Robot 8a2623b70b Merge changes from topic "presubmit-am-3bd5a8079aeb499da822e72c97b293b0" into tm-mainline-prod
* changes:
  [automerge] Adding tests for themed icons support in Launcher 2p: bcec90b081
  Adding tests for themed icons support in Launcher
2022-02-26 01:17:46 +00:00
TreeHugger Robot d341f9b5bc Merge changes from topic "presubmit-am-3bd5a8079aeb499da822e72c97b293b0"
* changes:
  [automerge] Adding tests for themed icons support in Launcher 2p: bcec90b081 2p: f4cc4c3c53
  [automerge] Adding tests for themed icons support in Launcher 2p: bcec90b081
  Adding tests for themed icons support in Launcher
2022-02-26 01:17:46 +00:00
Hyunyoung Song 7649f2f2c2 Merge "Change the all apps atomic transition duration to 150 ms" into tm-dev am: fbdf40ff4f am: 33eb70373b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17006607

Change-Id: I05489c70333ce0cd52b81148823ffe1c62ae19fa
2022-02-25 23:51:16 +00:00
Hyunyoung Song 6e35e11dd5 Merge "Change the all apps atomic transition duration to 150 ms" into tm-dev am: fbdf40ff4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17006607

Change-Id: I9471167d0ca3c68b5078cd5cf3e0d67948a0efa2
2022-02-25 23:31:05 +00:00
Hyunyoung Song 33eb70373b Merge "Change the all apps atomic transition duration to 150 ms" into tm-dev am: fbdf40ff4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17006607

Change-Id: Ia955281ad00528f8c8f711eb33e153f83764e4b0
2022-02-25 23:30:55 +00:00
Hyunyoung Song fbdf40ff4f Merge "Change the all apps atomic transition duration to 150 ms" into tm-dev 2022-02-25 22:59:56 +00:00
Sunny Goyal 8dc9415af5 [automerge] Adding tests for themed icons support in Launcher 2p: bcec90b081 2p: f4cc4c3c53
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17007428

Bug: 205772453
Change-Id: I9dcb8b1a6f3e4d51b745d237f2b71a3741227c30
2022-02-25 21:36:11 +00:00
Sunny Goyal f4cc4c3c53 [automerge] Adding tests for themed icons support in Launcher 2p: bcec90b081
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17007428

Bug: 205772453
Change-Id: Iec60841c7a1bac1295623818061e1133b38aa582
2022-02-25 21:35:54 +00:00
Sunny Goyal bcec90b081 Adding tests for themed icons support in Launcher
Bug: 205772453
Test: Presubmit
Change-Id: I2fc8cade8e103e5a7b3aa7349c870e613929464c
2022-02-25 13:35:18 -08:00
TreeHugger Robot 44c31e2319 Merge "Dump DeviceProfile in TouchInteractionService dumpsys" into tm-dev am: cacb21cba9 am: 02f4db2652
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17002613

Change-Id: I3e273dd904f14f6c1707db72e6f07f5f745ce1bd
2022-02-25 21:04:19 +00:00
Schneider Victor-tulias 7232569baf Merge "Remove old logs associated to b/200572078" 2022-02-25 21:03:31 +00:00
TreeHugger Robot 02f4db2652 Merge "Dump DeviceProfile in TouchInteractionService dumpsys" into tm-dev am: cacb21cba9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17002613

Change-Id: Ibf5383fc15957f3a2eeb4858b3296f07a3fbe424
2022-02-25 20:40:56 +00:00
Adam Cohen 0515851684 Merge "Fix DnD logic for determining current drag screen / panel" into tm-dev am: 28890edfe3 am: c63934c20e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17008136

Change-Id: I501ae6a5d7241604c95dbae2e72f23c23be7175e
2022-02-25 20:36:29 +00:00
TreeHugger Robot 02f4062ca9 Merge "Dump DeviceProfile in TouchInteractionService dumpsys" into tm-dev am: cacb21cba9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17002613

Change-Id: I68a93c5b2206f989ec8b6fa47df4abd88a469389
2022-02-25 20:33:41 +00:00
Adam Cohen d99230439f Merge "Fix DnD logic for determining current drag screen / panel" into tm-dev am: 28890edfe3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17008136

Change-Id: I9cba5ae69b0a464cd090505812914ae92e83f0d4
2022-02-25 20:29:51 +00:00
TreeHugger Robot cacb21cba9 Merge "Dump DeviceProfile in TouchInteractionService dumpsys" into tm-dev 2022-02-25 20:19:03 +00:00
Winson Chung d3a337609a Just return an empty list if the system returns null am: e479619836 am: 0f86fee612
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17008524

Change-Id: Ic0d36f7132e5afcfe35c0d23676ef1b75461c66a
2022-02-25 20:17:54 +00:00
TreeHugger Robot b95eef28c9 Merge "Passing in the launch cookie for widget broadcast trampolines" into tm-dev am: 2a431f4a79 am: e1d67bf12e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16940248

Change-Id: I8d0afbdbb64a1e1aad99949dc126a872408b65bd
2022-02-25 19:21:34 +00:00
Automerger Merge Worker 047755c429 Merge "Merge "1b/ Replace removed shared lib calls with direct calls" into tm-dev am: 78166e9337" 2022-02-25 19:20:03 +00:00
Winson Chung 8a91c9037f Merge "1b/ Replace removed shared lib calls with direct calls" into tm-dev am: 78166e9337
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003266

Change-Id: I4d2cdfcf8eb1a8ef245386dbbac97456eb1857ae
2022-02-25 19:19:51 +00:00
Winson Chung a0fc3f2090 Merge "1b/ Replace removed shared lib calls with direct calls" into tm-dev am: 78166e9337 am: 3588551b0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003266

Change-Id: Ic17dcda3e2626033efd31f0d0bdd6eaeacc30d86
2022-02-25 19:19:30 +00:00
Schneider Victor-tulias c4240fd429 Remove old logs associated to b/200572078
b/200572078 is no longer reproducing. Removing old logs and closing the bug

Fixed: 200572078
Test: remote tests
Change-Id: I7100ec33d5c92fc951b82f4118184453a388d772
2022-02-25 10:08:22 -08:00
Adam Cohen c63934c20e Merge "Fix DnD logic for determining current drag screen / panel" into tm-dev am: 28890edfe3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17008136

Change-Id: Ifc6643bfd4ce43678a413fb35bdf457dd4fb2133
2022-02-25 17:48:38 +00:00
Adam Cohen 28890edfe3 Merge "Fix DnD logic for determining current drag screen / panel" into tm-dev 2022-02-25 17:27:02 +00:00
Luca Zuccarini 5c65febbb6 Ensure that the Hotseat respects the margins of the QSB.
Before this change they were ignored by onMeasure(), so that the QSB
couldn't rely on margins for its positioning.

Bug: 217477426
Test: manual
Change-Id: Ifecd3d40ea584273b7857d19b25a90dbafe1c656
(cherry picked from commit 410c75a442)
2022-02-25 17:00:07 +00:00
TreeHugger Robot 7eb081dde4 Merge "Removing the Sunshine team from OWNERS." 2022-02-25 16:48:42 +00:00
Luca Zuccarini dfa9ee5ceb Merge "Ensure that the Hotseat respects the margins of the QSB." 2022-02-25 15:10:49 +00:00
Pierre Barbier de Reuille 01fb003246 Removing the Sunshine team from OWNERS.
We switched back to Digital Wellbeing.

Test: n/a
Change-Id: I98375788f66d3659cac3256f10cd8cd2bc19025e
2022-02-25 14:41:24 +00:00
Shikha Malhotra 20f1328b96 Top row of first workspace screen occupied only when QSB is placed at
the top.

This CL facilitates making the Feature Flag QSB_ON_FIRST_SCREEN as false
for LauncherLilyGoogle to make sure that that the top row on the first
screen is not blocked for QSB. Hinging it on BuildConfig allows it be
overwritten in LauncherLilyGoogle.

Bug: 208136186
Bug: 188511548

Test: Manually tested that top row of the first screen is not occupied
and does not clear the shortcuts after a power cycle for LauncherLilyGoogle.

Change-Id: I9113e2e2f2c0a160a2e1caf0ef3c5f86c6ec54b8
2022-02-25 13:31:23 +00:00
Alex Chau 890e4a75c3 Dump DeviceProfile in TouchInteractionService dumpsys
- So DeviceProfile dumpsys will be available in bugreports, useful for debugging
- Only dump DeviceProfile in createdOverviewActivity if it's non-null

Fix: 221395133
Test: adb shell dumpsys activity service com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
Change-Id: Iaf7b7abd25771814be6cb918e96e042d1085debb
2022-02-25 12:46:27 +00:00
Nicolo' Mazzucato d986bbd0fa Register hinge angle sensor listener in a background thread
This was taking ~13ms on the ui thread

Bug: 221394115
Test: Manual
Change-Id: Ibadade5b1c3c8d33a292d36bb6a03dd8021861be
2022-02-25 12:37:44 +01:00
Luca Zuccarini 410c75a442 Ensure that the Hotseat respects the margins of the QSB.
Before this change they were ignored by onMeasure(), so that the QSB
couldn't rely on margins for its positioning.

Bug: 217477426
Test: manual
Change-Id: Ifecd3d40ea584273b7857d19b25a90dbafe1c656
2022-02-25 10:49:36 +00:00
Winson Chung 0f86fee612 Just return an empty list if the system returns null am: e479619836
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17008524

Change-Id: I4c6a8239411c9227a75d05de9fc99bcd7e92ef73
2022-02-25 09:33:50 +00:00
Winson Chung e479619836 Just return an empty list if the system returns null
Bug: 206648922
Test: Presubmit (unable to reproduce this)
Change-Id: I04a4759a1c237513ab314ece4acd542e1407edb1
2022-02-25 06:41:45 +00:00
Vadim Tryshev 0304d71224 [automerger skipped] Merge "Preparing to using "platform-test-rules" library from Launcher tests" into tm-dev am: 2107f059cb am: b493002709 -s ours
am skip reason: Merged-In I334b9f1029edbe8621df940900f43d0c5059373e with SHA-1 13839e4cc6 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16978653

Change-Id: Ie2c179c44df53f994ea0ec5c2bac5ab38bd96c13
2022-02-25 06:17:14 +00:00
TreeHugger Robot e1d67bf12e Merge "Passing in the launch cookie for widget broadcast trampolines" into tm-dev am: 2a431f4a79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16940248

Change-Id: I3b523bbea8891713dc072d7135505cc5ae36fe80
2022-02-25 00:42:35 +00:00
TreeHugger Robot 2a431f4a79 Merge "Passing in the launch cookie for widget broadcast trampolines" into tm-dev 2022-02-25 00:21:27 +00:00
Adam Cohen f2f302bcf6 Fix DnD logic for determining current drag screen / panel
=> we want to use the extremum of finger location and object
   center for snapping to a new screen (max when snapping to right,
   min when snapping to left)
=> when selecting a panel within the current screen, we want to
   rely strictly on the object center to determine selection; there
   is plenty of space to be consistent here, and extremum logic
   could cause thrashing back and forth with no page movement.

Test: Manual. See videos in b/221104663. On two-panel and one-panel
      test dragging a widget between different screens with
      different starting positions of where the widget goes down.

Bug 221104663

Change-Id: I8f0f13f07b753752087a90c4bacb76cfbf7aa5bf
2022-02-24 16:13:12 -08:00
Android Build Coastguard Worker 64d7817b2b Snap for 8221354 from 8e5a164e05 to sc-qpr3-release
Change-Id: I466888d49bd12f1060edffaeff9cf15668433e98
2022-02-25 00:08:48 +00:00
Sunny Goyal 521ebd9f8a [automerge] Removing unnecessary AM.getTasks() call on every touch 2p: 8e5a164e05 am: c6aadf8a74 am: e2d9dde4b7 am: 709a053cc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17005155

Change-Id: I1d5beffcf6006eb46aecb98600f0e89c996c632c
2022-02-24 23:55:15 +00:00
Winson Chung 3588551b0f Merge "1b/ Replace removed shared lib calls with direct calls" into tm-dev am: 78166e9337
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17003266

Change-Id: I1934c8b54f775d0ab52b346e036e7d671d14c7c6
2022-02-24 23:53:39 +00:00
Winson Chung 78166e9337 Merge "1b/ Replace removed shared lib calls with direct calls" into tm-dev 2022-02-24 23:45:39 +00:00
Jeremy Sim 36c1b55ee8 Merge "Fix small positioning bug with DWB banner in landscape" 2022-02-24 21:38:25 +00:00