Pat Manning
39ed8eecfd
Merge "Make showing back for bouncer only rely on back disable status, not home and recents as well." into tm-qpr-dev am: f667823a8e am: 23aa4f8022
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21136526
Change-Id: Iec722d8821b90e3cb7021ba7d0a8d4076782f88a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-31 22:13:26 +00:00
Pat Manning
f667823a8e
Merge "Make showing back for bouncer only rely on back disable status, not home and recents as well." into tm-qpr-dev
2023-01-31 21:13:46 +00:00
Pat Manning
7462c2ab62
Make showing back for bouncer only rely on back disable status, not home and recents as well.
...
Fix: 260655218
Test: manual. Create second user, switch to three button nav, set lockscreen password, lock and show IME on lockscreen.
Change-Id: I1d874196afc24d5bae86d525a81ae199152fc750
2023-01-31 14:57:26 +00:00
Schneider Victor-tulias
360f6d0130
Merge "Revert "Revert^2 "Cancel gestures on launcher destroy""" into tm-qpr-dev am: 7d346bf90b am: 030ba11d8c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21100567
Change-Id: Ib3d7981a93d9647a3599df12e8093d31941550fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-30 22:45:51 +00:00
Schneider Victor-tulias
7d346bf90b
Merge "Revert "Revert^2 "Cancel gestures on launcher destroy""" into tm-qpr-dev
2023-01-30 21:39:50 +00:00
Schneider Victor-tulias
ece659d11a
Revert "Revert^2 "Cancel gestures on launcher destroy""
...
This reverts commit 377eb40985 .
Reason for revert: failing tests
Fixes: 266606727
Fixes: 266621449
Change-Id: I61094be02fb73c5ad65ee65be5ed93a3364f37ef
2023-01-27 14:38:19 -08:00
Jon Miranda
55dd83a3d6
Merge "Split taskbar test methods by persistent/transient" into tm-qpr-dev am: 6f53364c14 am: bcf6b13ac5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21120291
Change-Id: I6be4f5deb9511e03a9e7dac1bb3de0147d6e3b5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-27 22:21:36 +00:00
Jon Miranda
6f53364c14
Merge "Split taskbar test methods by persistent/transient" into tm-qpr-dev
2023-01-27 21:27:01 +00:00
Jon Miranda
7acd32cf16
Split taskbar test methods by persistent/transient
...
Test: TaplTestsTaskbar
Bug: 266861780
Change-Id: I0fc0ef58aa4bc087248ab223c4716992bc0cd692
2023-01-26 16:08:23 -08:00
Evan Rosky
1d2abb366d
Merge "Revert^8 "Enable Shell Transitions""
2023-01-25 00:08:16 +00:00
Schneider Victor-tulias
cd09b276c5
Merge "Revert^2 "Cancel gestures on launcher destroy"" into tm-qpr-dev am: 74484f4a99 am: 86fbe3c7ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20680308
Change-Id: I8c6e5b7431631ce5577dc6ba8435d607fc3bc883
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-24 19:32:52 +00:00
Schneider Victor-tulias
74484f4a99
Merge "Revert^2 "Cancel gestures on launcher destroy"" into tm-qpr-dev
2023-01-24 17:55:54 +00:00
TreeHugger Robot
2cd37fb6fe
Merge "Implement initial transient Taskbar EDU tooltips." into tm-qpr-dev am: 654f714718 am: 4d7e4c4a8e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20795522
Change-Id: I70307a411262909945f44e7e3b58ff721ccc10d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-21 09:02:06 +00:00
Evan Rosky
e0cfbc3475
Revert^8 "Enable Shell Transitions"
...
d9cc7d1eb1
Change-Id: Ic59c027f05e47eb9939c0c65d19892451fd4ae50
2023-01-21 02:20:39 +00:00
Evan Rosky
feedb575b8
Merge "Revert^7 "Enable Shell Transitions""
2023-01-21 02:18:16 +00:00
Brian Isganitis
b21ad2da8c
Implement initial transient Taskbar EDU tooltips.
...
Since this tooltip looks and behaves differently than the existing EDU
sheet, it has its own view and controller implementations (I also may
have wanted to write some Kotlin).
To keep transient taskbar open while on the second EDU step, another
autohide suspend flag is defined. Additionally, special casing is added
to avoid hiding transient taskbar if autohiding is currently suspended.
Tooltips use the same assets as the bottom sheet for now, and are scaled
down to fit the tooltip dimensions.
Reset `Taskbar Education` in Developer Options to try EDU again.
[Demos]
- First: https://screenshot.googleplex.com/ASBeGvrb2EA5wEF.png
- Second: https://screenshot.googleplex.com/7fnfcTh9bMYezDc.png
Test: Manual
Test: Open app, see swipe-up tooltip.
Test: Swipe up to show transient taskbar, see features tooltip.
Bug: 263157739
Fix: 258460203
Change-Id: I473f5fccbae279db0614763b640da0a120b6b7f7
2023-01-20 15:16:12 -08:00
Evan Rosky
d9cc7d1eb1
Revert^7 "Enable Shell Transitions"
...
039217e518
Change-Id: Id82874ee3c209bb024b131b4a427eba25a84cd20
2023-01-20 23:14:47 +00:00
Evan Rosky
f805d1ee93
Merge "Revert^6 "Enable Shell Transitions""
2023-01-20 18:27:11 +00:00
Vinit Nayak
1b6c2b7f54
Merge "Add unit tests for TaskbarKeyguardController" into tm-qpr-dev am: 8d98dd2905 am: b069336a7e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21021735
Change-Id: I7591a0a13b438998abfaf84d8c647dd56a92f2a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-20 01:16:11 +00:00
Vinit Nayak
b1c47227b1
Add unit tests for TaskbarKeyguardController
...
* Remove setting back button tint for SUW as that
is now done in ag/20953768
Bug: 230027385
Change-Id: I2c157ed67487cab9ba721fa659973351780509bb
2023-01-18 10:42:45 -08:00
Christophe Pinelli
2acf5a8492
Merge "Make mutable PendingIntent explicit" into tm-qpr-dev am: 3cd6cbe6b4 am: ab2c2d9576
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20953789
Change-Id: Iafef3bf70a5dfb0c5a72bf814d23d952cfd7f2f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-12 20:02:04 +00:00
Christophe Pinelli
9d46bca1b9
Make mutable PendingIntent explicit
...
Starting from target SDK U, we will block creation of mutable
PendingIntents with implicit Intents because attackers can mutate the
Intent object within and launch altered behavior on behalf of victim
apps. For more details on the vulnerability, see go/pendingintent-rca.
From a quick analysis, we concluded that the PendingIntent here was only
destined to the test app/to the app, so it was made explicit. Reviewers,
please call out if this is not the case.
Bug: 236704164
Test: atest NexusLauncherTests:com.android.quickstep.DigitalWellBeingToastTest
Test: atest RequestPinItemTest
Change-Id: I81311b0588b7b712c97de6cb016a62bb91c7a77c
2023-01-12 01:51:44 +00:00
Thales Lima
bdfc07f1f0
Merge "Check kotlin format before uploading" into tm-qpr-dev
2023-01-10 16:41:58 +00:00
Thales Lima
03ac377a34
Check kotlin format before uploading
...
This uses ktfmt on the PREUPLOAD hook to check file formatting.
Bug: 264851618
Test: manual
Change-Id: I8bdeabd9c1ed571a464707e6912419ad3190a169
Merged-In: I8bdeabd9c1ed571a464707e6912419ad3190a169
2023-01-10 13:24:43 +00:00
Thales Lima
7a3c1e10a7
Check kotlin format before uploading
...
This uses ktfmt on the PREUPLOAD hook to check file formatting.
Bug: 264851618
Test: manual
Change-Id: I8bdeabd9c1ed571a464707e6912419ad3190a169
2023-01-09 17:45:42 +00:00
Wei Sheng Shih
573023084b
Merge "[ShellTransit] Stabilize QuickSwitch test since Launcher can resumed." into tm-qpr-dev am: 485c8777cc am: 63a63996a5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20828500
Change-Id: Ib48f066dc9ff1e3677f5b595862a3073e6f9b1ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 12:15:47 +00:00
Vinit Nayak
3c64416769
Merge "Toggle taskbar button nav assistant availability" into tm-qpr-dev am: daffdfa35c am: 1e4e91b296
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20858639
Change-Id: Ib564b8b8a77765e8e8657ed7bbdaae7d14176f82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 11:44:06 +00:00
Wei Sheng Shih
485c8777cc
Merge "[ShellTransit] Stabilize QuickSwitch test since Launcher can resumed." into tm-qpr-dev
2023-01-06 03:27:56 +00:00
wilsonshih
ae4a9ac0d4
[ShellTransit] Stabilize QuickSwitch test since Launcher can resumed.
...
QuickSwitch can resume Launcher activity due to transient launch when
shell transition is enabled, waiting for the Launcher leave resume
stage to make the test stable.
Bug: 263907455
Test: atest TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet
Change-Id: I2e6e0511cba51f4634ccf3da454e4be1dd93ffd1
2023-01-04 07:23:51 +00:00
Vinit Nayak
0d784ee7fb
Toggle taskbar button nav assistant availability
...
* New signals coming in from Sysui reflect the toggle
in Settings for long pressing on home button to
invoke assistant.
Fixes: 255909545
Test: Manual + added unit test for TaskbarNavButtonController
Change-Id: Ic65a80b0b9697990931b7e89756773fb086cc3bd
2023-01-03 20:07:27 -08:00
Schneider Victor-tulias
377eb40985
Revert^2 "Cancel gestures on launcher destroy"
...
f0de6cc2ca
Bug: 261816852
Fixes: 244593270
Fixes: 257976590
Fixes: 261504234
Test: FallbackRecentsTest#goToOverviewFromApp and FallbackRecentsTest#goToOverviewFromHome
Change-Id: If49a08fd62b99c9bbc007900b613b83747916f5f
2023-01-03 11:31:05 -08:00
Alex Chau
e13b1a22f9
Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev am: 4537638dfd am: 0d5ca5fe6f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20533919
Change-Id: I37921b47514fc4823b2c6ee7d61fbf1ff6ca7c67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-19 12:26:25 +00:00
Thales Lima
6a59006592
Polish hotseat and taskbar with 3 buttons
...
Change margin spaces and logic of how many items the hotseat and taskbar should show.
Fix: 246424857
Test: DeviceProfileDumpTest
Test: HotseatWidthCalculationTest
Change-Id: I8ec71c56a0aa362483c43d6400c762d12cf45f5b
2022-12-17 11:20:21 +00:00
Alex Chau
c92b91c579
Merge "Don't scale iconSize and textSize in non-default display size" into tm-qpr-dev am: 5c1eb61391 am: 881b7f2d55
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20691430
Change-Id: I083054a14d61a8ebd212c1d1dde5ee210eb84fd3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-14 18:12:34 +00:00
Alex Chau
be753137a2
Don't scale iconSize and textSize in non-default display size
...
- Cells should get extra space by reducing borderSpace. If that's still not enough, use 0 borderSpace and distribute the space
Fix: 256976071
Fix: 248348171
Test: manual
Change-Id: I067c1aaa553d7a84caeeb9ce21e80cfaf86a3bed
2022-12-13 16:30:14 +00:00
Sebastián Franco
bdee8e4313
Merge "Ignore all launcher3 flaky test so that they come back online" into tm-qpr-dev am: 878ae3fc85 am: 64d68ce0c7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20647519
Change-Id: I255b21e3e06e93c90f7b718d265d166abc4b4e72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-07 20:50:40 +00:00
Sebastian Franco
150e572e05
Ignore all launcher3 flaky test so that they come back online
...
Test dashboard: https://android-build.googleplex.com/builds/tests/search?filter=mediumFailureRate&filter=highFailureRate&query=config%3Av2%2Fgnl-eng%2Funbundled%2Flauncher%2Flauncher3_test_platform+latest%3A4d&tab=tests
Test: dashboard should not show flaky tests
Bug: 256832045
Change-Id: I06e879dec2703455b7be728c7afd3500d2edd54a
2022-12-06 17:08:45 -08:00
Vinit Nayak
84c70ff18e
Merge "Update test for change in calculation of split portrait clipping" into tm-qpr-dev am: 2cf7994908 am: 5d1bee3835
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20617554
Change-Id: Ib9db0563e56d4c49a522075e609c93740acd0add
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-02 20:46:36 +00:00
Vinit Nayak
190fa37647
Update test for change in calculation of split portrait clipping
...
* Updated code, wrote new test for new code
but forgot to update old test.
Fixes: 261110474
Test: FullscreenDrawParamsTest passes
Change-Id: I39a9029b69774f0ea7064da295c516f547bcbef2
2022-12-01 21:22:38 -08:00
Vinit Nayak
f8c0da187c
Merge "Update for stashed taskbar animation" into tm-qpr-dev am: 18d5634176 am: a5bb63d39a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20470413
Change-Id: Icd28b632d9df39cca246024e76ca232b16492428
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-02 02:47:06 +00:00
Vinit Nayak
3b1f5849ce
Update for stashed taskbar animation
...
* Strangely if you swipe up with a split pair
and then tap on the live tile to go back to
fullscreen this animates fairly correctly.
However, if you drag the focused pair back to fullscreen
the bottom app does not unclip as expected
Bug: 219411750
Test: Swipe up w/ stashed taskbar in portrait.
Thumbnail cutout doesn't appear when dragging to
fullscreen
Change-Id: Ia6e7aae10389d9fefa4adbfce540171bbe0a9180
2022-11-30 11:56:40 -08:00
Vinit Nayak
8bb9fcc020
Merge "Update test for vertical split" into tm-qpr-dev am: 9de3256583 am: 53c66c4afe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20455918
Change-Id: I026a43de55b9e4d7badcf8674bb0a7226d9954ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-18 19:18:30 +00:00
Vinit Nayak
825ede3e92
Update test for vertical split
...
* Takes into account taskbar insets, not sure what
expected val should be so copied the same logic from code
Bug: 219411750
Test: Ran test, passes
Change-Id: I6230a3d043e41446c35c9b393abf4a2e0ea891af
2022-11-17 16:39:27 -08:00
Vinit Nayak
b8dcdbdd67
Merge "Add test for vertical and horizontal split apps" into tm-qpr-dev am: 03695ba0f2 am: 2af60c9c11
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20446857
Change-Id: I1906d92531855f6aa02d51b7b5f5f266b1149ac2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-16 21:28:05 +00:00
Vinit Nayak
03695ba0f2
Merge "Add test for vertical and horizontal split apps" into tm-qpr-dev
2022-11-16 20:45:01 +00:00
TreeHugger Robot
fd49872770
Merge "Revert "Revert "Add TaskbarModeSwitchRule to test both transient/persistent taskbar.""" into tm-qpr-dev am: 87ccecb6fc am: 8c49ddde2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20425196
Change-Id: I826fbc5897fff22e932a4d790e76a7adee21298e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-11-15 23:40:37 +00:00
TreeHugger Robot
87ccecb6fc
Merge "Revert "Revert "Add TaskbarModeSwitchRule to test both transient/persistent taskbar.""" into tm-qpr-dev
2022-11-15 22:31:55 +00:00
Evan Rosky
039217e518
Revert^6 "Enable Shell Transitions"
...
eaec408d1b
Change-Id: Ied79e12075bb6f2d3dd8772912516dd2b696a622
2022-11-15 21:50:03 +00:00
Evan Rosky
8e8c78677e
Merge "Revert^5 "Enable Shell Transitions""
2022-11-15 19:50:13 +00:00
Vinit Nayak
7545f20268
Add test for vertical and horizontal split apps
...
* More work still needs to be done for portrait
split apps with stashed taskbar
Bug: 258714015
Test: Existing tests pass, visually saw slight
improvement in stashed portrait gesture clipping.
Change-Id: Id1b9bb28a1a2676a5da1b5e5824e0835290cb616
2022-11-15 11:23:38 -08:00