Commit Graph

60459 Commits

Author SHA1 Message Date
TreeHugger Robot 20e9383d29 Merge "Fixing itemInfoMatcher not working for folders" into sc-v2-dev am: 8d9eaf0c7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786950

Change-Id: Ic48f15846d22e018042bc8d5e4a43ffbd37d374f
2021-09-08 19:19:36 +00:00
TreeHugger Robot 8b91fdfffb Merge "Moving roboelectic tests to instrumentation tests" into sc-v2-dev am: b44b73ee3a am: 9f17e2e6c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15778398

Change-Id: I851ad5485e6cbff4d6207112b1420df165a311b1
2021-09-08 19:19:32 +00:00
TreeHugger Robot 41e171143b Merge "isable taskbar edu for tests" into sc-v2-dev am: f87a7409b2 am: 399a391857
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779384

Change-Id: I03a1fe2e9960437b6f524948f1b528f76bca2e60
2021-09-08 19:19:20 +00:00
Tony Wickham a343699760 Don't allow starting DeveloperOptionsFragment on non-debug builds
Test: adb shell am start -n com.google.android.apps.nexuslauncher/com.android.launcher3.settings.SettingsActivity --es ":settings:fragment" "com.android.launcher3.settings.DeveloperOptionsFragment"
Fixes: 199302659
Change-Id: I33dd4db3444c0ccabbe4dc3bb80db4167aec6a03
2021-09-08 19:11:59 +00:00
TreeHugger Robot 8d9eaf0c7d Merge "Fixing itemInfoMatcher not working for folders" into sc-v2-dev 2021-09-08 19:10:20 +00:00
TreeHugger Robot 9f17e2e6c9 Merge "Moving roboelectic tests to instrumentation tests" into sc-v2-dev am: b44b73ee3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15778398

Change-Id: I4b60c5829d2bb6599513ca690274992f7ee35566
2021-09-08 19:03:34 +00:00
TreeHugger Robot 399a391857 Merge "isable taskbar edu for tests" into sc-v2-dev am: f87a7409b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779384

Change-Id: I6ad67a8f9bbbc07bfea4caf7792e7a9e4d421085
2021-09-08 19:03:29 +00:00
TreeHugger Robot b44b73ee3a Merge "Moving roboelectic tests to instrumentation tests" into sc-v2-dev 2021-09-08 18:40:37 +00:00
TreeHugger Robot f87a7409b2 Merge "isable taskbar edu for tests" into sc-v2-dev 2021-09-08 18:36:08 +00:00
Hyunyoung Song f6274ec271 Remove robolectric build targets
Bug: 197243640
Test: presubmit
Change-Id: Ia9126ec491b66e0a97195a65448135726707477c
2021-09-08 09:36:01 -07:00
Sunny Goyal 266905160a Fixing itemInfoMatcher not working for folders
Bug: 197686628
Test: Manual
Change-Id: Ie43a55be6cce4bc73e38525388d744a649dbc740
2021-09-08 12:29:13 -04:00
Tony Wickham 800336ecad Merge "Update taskbar color in onConfigurationChanged()" into sc-v2-dev am: 238bf4f30d am: ad42bf08d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779380

Change-Id: Iae43b524b98fd34824e62554130dcd66cd5a706c
2021-09-08 15:40:07 +00:00
Nick Chameyev 9e0d0ed0de [Taskbar icons unfold animation issue] Do not take into account initial translation
Removes taking into account initial translation in
move from center animation. Initially it was done
because in StatusBar items are aligned using translations
but we decided to use different approach there so it is
not necessary anymore.

Now move from center animator can only set translations
from positive/negative value when progress is 0 and sets
it to 0 when progress is 1 (previously it was 'capturing'
the initial translation and animated the translation to
its original value).

Taskbar icons are pre-aligned using translations when
user is on launcher. After several folds/unfolds these
translations were accumulating that led to incorrect
positioning of the icons.

Found one more issue that we didn't clear the animated
views list after finishing the animation in taskbar unfold
animation controller but it didn't affect the animation
itself.

Test: atest com.android.systemui.shared.animation.UnfoldMoveFromCenterAnimatorTest
Test: unfold on launcher and use gesture nav to swipe to an app
Fixes: 199126683
Change-Id: Icfb29d79fdd8f04eb5a9a369a3d01c15fd321c75
2021-09-08 16:39:15 +01:00
Tony Wickham ad42bf08d1 Merge "Update taskbar color in onConfigurationChanged()" into sc-v2-dev am: 238bf4f30d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779380

Change-Id: I47974777616e264a0fee9b6f392fbf4b8bcbc81a
2021-09-08 15:25:28 +00:00
Tony Wickham f8a064f347 isable taskbar edu for tests
Test: clear TASKBAR_EDU_SEEN pref, ensure edu shows during normal usage
Bug: 199100151
Change-Id: I8e59cfa22ccba77c588a0902d46021dd72c6e77d
2021-09-08 08:10:16 -07:00
Tony Wickham 238bf4f30d Merge "Update taskbar color in onConfigurationChanged()" into sc-v2-dev 2021-09-08 15:08:36 +00:00
Sunny Goyal 3e9a29c4d6 Moving roboelectic tests to instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: I197bc47181308bb0b79f3815a892b733abbcd1fd
2021-09-08 10:23:30 -04:00
Thales Lima 31a2afef49 Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev am: 9223c1e27c am: 4f347ef3cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15726603

Change-Id: I2a0e1b1c880c88a0d1940490e5a1c1276790e10c
2021-09-08 10:29:19 +00:00
Thales Lima 4f347ef3cf Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev am: 9223c1e27c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15726603

Change-Id: Idc653dbb5b86432f8f9626ee567ae22453bbeeda
2021-09-08 10:15:58 +00:00
Thales Lima 9223c1e27c Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev 2021-09-08 09:58:11 +00:00
Android Build Coastguard Worker 0917325720 Snap for 7711473 from 6b37bffd5c to tm-release
Change-Id: Ib7051a848b865218a1a0cb51ce3a4772dffaa95e
2021-09-08 03:08:11 +00:00
TreeHugger Robot dab125fcc3 Merge "Prevent NPE when init device profile" into sc-v2-dev am: 11438429a8 am: 68e7b1a315
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15781507

Change-Id: I23c1ef0490784d2ff8452ecc7714c841d76d210d
2021-09-08 02:46:25 +00:00
TreeHugger Robot 68e7b1a315 Merge "Prevent NPE when init device profile" into sc-v2-dev am: 11438429a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15781507

Change-Id: I3c5b65e287325b6176759bb9ff5f03fee9ad282c
2021-09-08 02:30:42 +00:00
TreeHugger Robot 11438429a8 Merge "Prevent NPE when init device profile" into sc-v2-dev 2021-09-08 02:14:31 +00:00
Jerry Chang bfac46a30c Prevent NPE when init device profile
Fix: 198871283
Test: manual
Change-Id: Ie303ff4f3dc05f419e80038e41e195dc874ba40a
2021-09-08 08:34:39 +08:00
Samuel Fufa 00993a96be Merge "Remove HotseatEduActivity from AOSP" into sc-qpr1-dev am: b5a33b2d34 am: f6542d4e64 am: 8788f72cdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748897

Change-Id: Ie0a4482c1ee77a86d56eef21b69b719f1b4d7896
2021-09-07 22:42:23 +00:00
Samuel Fufa 25da7f3548 Merge "Remove HotseatEduActivity from AOSP" into sc-qpr1-dev am: b5a33b2d34 am: a19a807888 am: 89bf24b7b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748897

Change-Id: Idea5e55ac056bf0e87e04f30e6966e28975026c5
2021-09-07 22:42:12 +00:00
Tony Wickham abaa481bfb Update taskbar color in onConfigurationChanged()
Test: Change wallpaper, ensure taskbar updates to match
Fixes: 199045474
Change-Id: I7ec8bbec8e31d2d03c09bf487ab55c86b95917e7
2021-09-07 15:39:53 -07:00
vadimt 352c0035cb Adding Winscope Launcher trace artifact
Bug: 197991109
Test: local runs
Change-Id: I8fe718570e1400e97ea107bc25e169f39257ff43
2021-09-07 15:26:52 -07:00
Samuel Fufa 8788f72cdf Merge "Remove HotseatEduActivity from AOSP" into sc-qpr1-dev am: b5a33b2d34 am: f6542d4e64
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748897

Change-Id: Ib6e82fc073e0ad54defa3a49fc21e6fcbc0668b6
2021-09-07 22:26:19 +00:00
Samuel Fufa 89bf24b7b6 Merge "Remove HotseatEduActivity from AOSP" into sc-qpr1-dev am: b5a33b2d34 am: a19a807888
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748897

Change-Id: Ie2042e33f14ea4a6036f853b2bed7338263d3a6e
2021-09-07 22:25:47 +00:00
Samuel Fufa a19a807888 Merge "Remove HotseatEduActivity from AOSP" into sc-qpr1-dev am: b5a33b2d34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748897

Change-Id: Ib6fe3e66017c71f02487b08d6e49153a968e657d
2021-09-07 22:11:44 +00:00
Samuel Fufa f6542d4e64 Merge "Remove HotseatEduActivity from AOSP" into sc-qpr1-dev am: b5a33b2d34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748897

Change-Id: Ib046c5f5577ad280a1efa621be30ddee409d4c51
2021-09-07 22:11:43 +00:00
TreeHugger Robot 6b37bffd5c Merge "Fixing leak in model tests" into sc-v2-dev am: d213914214 am: 8dbae16629
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15777966

Change-Id: I210bc76082112c716432dcc00ffe398722a1fe48
2021-09-07 22:06:32 +00:00
Samuel Fufa b5a33b2d34 Merge "Remove HotseatEduActivity from AOSP" into sc-qpr1-dev 2021-09-07 21:55:23 +00:00
TreeHugger Robot 8dbae16629 Merge "Fixing leak in model tests" into sc-v2-dev am: d213914214
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15777966

Change-Id: If0a45c0b0e7eec4b94676f5868590dbb123c1c75
2021-09-07 21:49:51 +00:00
Vinit Nayak 7f4f499515 Show all nav buttons when IME showing
* Keep home and recents button, and rotate back button
to be down when IME shows in 3 button task bar.
* Move IME switcher to left side of taskbar for 3 button,
keep on right side for gesture nav.

Bug: 191399224
Test: Tested RTL and LTR, gesture + button nav
with and w/o IME.

Change-Id: I7959d26986e546596e2436b8b5eb7668f44b55cf
2021-09-07 14:43:17 -07:00
TreeHugger Robot d213914214 Merge "Fixing leak in model tests" into sc-v2-dev 2021-09-07 21:31:34 +00:00
Tony Wickham 6bc2bc1a02 Merge "Fix wallpaper picker crash if folder is in hotseat" into sc-v2-dev am: 437e44810d am: 15c653c65c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779378

Change-Id: Idcee3d0543efaad86a0dbd0409ed5f1596971369
2021-09-07 21:22:59 +00:00
Tony Wickham 15c653c65c Merge "Fix wallpaper picker crash if folder is in hotseat" into sc-v2-dev am: 437e44810d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779378

Change-Id: Ibc3b3979c98c2c7f92e32a58ab00495e4ee4e40d
2021-09-07 21:08:23 +00:00
Tony Wickham 437e44810d Merge "Fix wallpaper picker crash if folder is in hotseat" into sc-v2-dev 2021-09-07 20:52:44 +00:00
Samuel Fufa c7defb5751 Merge "[Search] Update AllApps header protection" into sc-qpr1-dev am: 832043d1c9 am: c09a130f89 am: 86356d71bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748885

Change-Id: I54e8d1c25288786df5cd0237e6b67c92d6beada1
2021-09-07 20:42:17 +00:00
Samuel Fufa a28fc85ae2 Merge "[Search] Update AllApps header protection" into sc-qpr1-dev am: 832043d1c9 am: bfaf09ebef am: 85dccfb8cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748885

Change-Id: I9d15fdbedb3b04f58c7429242f52a73f50f4d357
2021-09-07 20:41:52 +00:00
TreeHugger Robot cf8dc2b3d1 Merge "Always reset focusedTask to -1 on reset" into sc-v2-dev am: 915f6a0995 am: f598f6d3de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15757128

Change-Id: I6d9941df048e380a80abd8e166365ef5d9314968
2021-09-07 20:41:41 +00:00
Samuel Fufa 86356d71bd Merge "[Search] Update AllApps header protection" into sc-qpr1-dev am: 832043d1c9 am: c09a130f89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748885

Change-Id: I0db516a5094406cf326830a819f14851aa2debe9
2021-09-07 20:41:37 +00:00
Samuel Fufa 85dccfb8cc Merge "[Search] Update AllApps header protection" into sc-qpr1-dev am: 832043d1c9 am: bfaf09ebef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748885

Change-Id: Ia2acdc316d5955cdc39451e5a5ae68da0c0477e9
2021-09-07 20:29:40 +00:00
Samuel Fufa bfaf09ebef Merge "[Search] Update AllApps header protection" into sc-qpr1-dev am: 832043d1c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748885

Change-Id: I705d99ad29127f65726332aaa2599ad19475bb54
2021-09-07 20:26:45 +00:00
Samuel Fufa c09a130f89 Merge "[Search] Update AllApps header protection" into sc-qpr1-dev am: 832043d1c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748885

Change-Id: I957242db826e9aff4fc814791fece468a54c7367
2021-09-07 20:26:35 +00:00
TreeHugger Robot f598f6d3de Merge "Always reset focusedTask to -1 on reset" into sc-v2-dev am: 915f6a0995
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15757128

Change-Id: Ie77630d642ec336b71eead9522449d37ea0cf1a1
2021-09-07 20:25:38 +00:00
Samuel Fufa 832043d1c9 Merge "[Search] Update AllApps header protection" into sc-qpr1-dev 2021-09-07 19:57:31 +00:00