Vinit Nayak
fc119626fe
Merge "Refactor TaskViewUtils to launch adjacent GroupedViewTaskView" into sc-v2-dev am: 9d4966d0ca am: bd1f937198
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619054
Change-Id: I83321ecd9c278495af6cc2333e69a4f7cbb71a95
2021-09-08 23:43:12 +00:00
Vinit Nayak
bd1f937198
Merge "Refactor TaskViewUtils to launch adjacent GroupedViewTaskView" into sc-v2-dev am: 9d4966d0ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619054
Change-Id: I8705de78355c3fe53f5dc3d5ae75db43dd173d7f
2021-09-08 23:28:06 +00:00
Vinit Nayak
9d4966d0ca
Merge "Refactor TaskViewUtils to launch adjacent GroupedViewTaskView" into sc-v2-dev
2021-09-08 23:18:25 +00:00
Vinit Nayak
1409d29773
Refactor TaskViewUtils to launch adjacent GroupedViewTaskView
...
* TaskViewUtils only used one TVS, now it can use
multiple necessary for staged split.
* Consolidate creating RemoteAnimationTargets into
TaskViewSimulators/TransformParams into RemoteTargetGluer
Test: Swipe to overview, tap on running task.
Swipe to overview, tap on adjacent task (single + split)
Bug: 195675206
Change-Id: I31e4aece60e2eaf94ce87ffc736b33fe7e0e5804
2021-09-08 23:18:11 +00:00
Android Build Coastguard Worker
2992d5e4ae
Snap for 7712960 from 11438429a8 to sc-v2-release
...
Change-Id: I92c9322269157c57e53fcf1d4a82b4a329920fa0
2021-09-08 23:13:13 +00:00
TreeHugger Robot
63db45c1d9
Merge "Fix crash when Workspace item is added to two panel home" into sc-v2-dev am: fd744975cc am: 1bde92ca95
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786971
Change-Id: Icc319f23eab7545c196e2b95a5c27e428a63cf7b
2021-09-08 22:31:40 +00:00
TreeHugger Robot
1bde92ca95
Merge "Fix crash when Workspace item is added to two panel home" into sc-v2-dev am: fd744975cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786971
Change-Id: I79c59338dfbef2b54fd87885afe175555258ae04
2021-09-08 22:19:13 +00:00
TreeHugger Robot
fd744975cc
Merge "Fix crash when Workspace item is added to two panel home" into sc-v2-dev
2021-09-08 22:09:53 +00:00
Vinit Nayak
95f4acc95a
Merge "Show all nav buttons when IME showing" into sc-v2-dev am: fd5e2ff933 am: 032ea8af12
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780327
Change-Id: Idc6cc4804c5ce9fe94973e1ec82aaba513095f1b
2021-09-08 22:03:11 +00:00
Tony Wickham
4bde9e9eaf
Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 9ac2800849 am: cfc02d0ef1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659
Change-Id: I17f6f75a70f7bae4cb3c4060ca636457c2cfbc8a
2021-09-08 22:03:06 +00:00
Tony Wickham
adc40c11fb
Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 85435ff751 am: 81aee5e024
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659
Change-Id: Ia70df34fcf2715fcb1f8d9459bb7201521542583
2021-09-08 22:03:00 +00:00
Samuel Fufa
564e9ca223
[Work] Fix work apps showing in personal tab
...
The problem here is that we are tracking hasWorkApps and usingTabs using the same value.
This leads to work/personal apps showing together when clearing search since mUsingTabs is overridden to false on setLastSearchQuery and later used to determine if tabs should show.
Bug: 198546279
Test: Manual
Change-Id: I7df5d65472703bedcc9dd688847d9ebd146d5f61
2021-09-08 15:02:24 -07:00
Vinit Nayak
032ea8af12
Merge "Show all nav buttons when IME showing" into sc-v2-dev am: fd5e2ff933
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780327
Change-Id: I858a91d254b5d300905eb8aa55184b5dbb60456c
2021-09-08 21:50:21 +00:00
Tony Wickham
cfc02d0ef1
Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 9ac2800849
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659
Change-Id: I1aca16c6331bd6d488f1f0ed88dc8e9b2401d8f0
2021-09-08 21:50:14 +00:00
Tony Wickham
81aee5e024
Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 85435ff751
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659
Change-Id: Ic958cdc3ce8c7e478d6f4eefeec5bb1f87c9ede2
2021-09-08 21:49:46 +00:00
Vinit Nayak
fd5e2ff933
Merge "Show all nav buttons when IME showing" into sc-v2-dev
2021-09-08 21:44:01 +00:00
Tony Wickham
85435ff751
Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659
Change-Id: Icb78fa14b61431214dd2da1d373ae7e466572450
2021-09-08 21:28:46 +00:00
Tony Wickham
9ac2800849
Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659
Change-Id: I268204c3f0597fb4609437a94efdffcdfdb6b4f0
2021-09-08 21:28:46 +00:00
Tony Wickham
534bd2205b
Add ability to start DeveloperOptionsFragment with filter pre-applied
...
Repurposing EXTRA_FRAGMENT_ARG_KEY to set an initial filter.
Test: adb shell 'am start -n com.google.android.apps.nexuslauncher/com.android.launcher3.settings.SettingsActivity --es ":settings:fragment" "com.android.launcher3.settings.DeveloperOptionsFragment" --es ":settings:fragment_args_key" "Education"'
Bug: 199299382
Change-Id: I032f7ffc373daed51c8d381f3cacf722fb3fb198
2021-09-08 13:51:29 -07:00
Tony Wickham
281786a841
Add option to reset Onboarding Flows in Developer Options
...
Test: Go to Developer Options, reset Hybrid Hotseat Education, then long press on a predicted hotseat item and ensure edu toast appears
Bug: 199299382
Change-Id: I384d7af08fc8b842bc3a1333b9f8017cca3680e6
2021-09-08 13:51:25 -07:00
Hyunyoung Song
2b6725bce9
Merge "Remove robolectric build targets"
2021-09-08 20:26:04 +00:00
Vinit Nayak
84511f2997
Call exitSplitScreen() when user leaves split tasks
...
* Also call it when user swipes to home
Fixes: 198310766
Test: Tested QS'ing split to fullscreen,
full to split, swipe to home from split and fullscreen
Change-Id: I6a465ead7fcd68dc85e0ab401789f4a5c3feb0d1
2021-09-08 13:02:29 -07:00
Alex Chau
817e0fa812
Fix crash when Workspace item is added to two panel home
...
Test: Run com.android.launcher3.ui.widgetRequestPinItemTest#testPinShortcut tests
and com.android.launcher3.ui.TaplTestsLauncher3#testWorkspace
Bug: 199150824
Change-Id: I8550970806eb0b9bfc246d4fb76ffbd0415b7647
2021-09-08 21:01:10 +01:00
Jon Spivack
7faf0e5e46
Merge "NIU Actions: Dismiss modal dialogs when overlay is closed"
2021-09-08 19:56:37 +00:00
TreeHugger Robot
8d8bde3b67
Merge "Fixing itemInfoMatcher not working for folders" into sc-v2-dev am: 8d9eaf0c7d am: 20e9383d29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786950
Change-Id: I80e913d577d05201f80555cffd3f08d9ecccddc7
2021-09-08 19:24:21 +00:00
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
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