Thales Lima
60936f5eac
launcher: show smartspace date card on Wallpaper & style
...
Smartspace requires a lot of information to show cards, and it shouldn't
be required to show a preview for the user on how the home screen looks
like. This changes that to always use the date card from smartspace.
Fixes: 197328474
Test: open Wallpaper & style
Change-Id: I4718a1c0397172f654b7b6b4beb96b50b3b9eeb3
2021-08-31 18:32:02 +01:00
TreeHugger Robot
d935937d8d
Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev am: 667bda8448 am: b855314c6d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15696989
Change-Id: Ie64db49d16eca1da431f30f538901de592380796
2021-08-31 11:16:26 +00:00
TreeHugger Robot
667bda8448
Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev
2021-08-31 10:52:02 +00:00
Sunny Goyal
777d49062f
Revert "Revert "Migrating all model tests to Instrumentation tests""
...
This reverts commit 7a4a30d86d .
Test: Presubmit
Reason for revert: Fixing original bug
Bug: 196825541
Change-Id: Id4b1eb24a89564d264266d305aebea52917dfcd9
2021-08-31 10:51:52 +00:00
TreeHugger Robot
d6f3763e20
Merge "Enables Taskbar Edu by default." into sc-v2-dev am: a0426f9743 am: 05b8c10cab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687335
Change-Id: Iad7e6f9b50bd69725b204dccb39dc66094508ecf
2021-08-31 04:36:42 +00:00
TreeHugger Robot
a0426f9743
Merge "Enables Taskbar Edu by default." into sc-v2-dev
2021-08-31 04:14:28 +00:00
Thiru Ramasamy
cf1f1d1966
Merge "Add RESERVE_NEW_UI_EVENT_ID field to EventEnum interface." into sc-v2-dev am: e55c0feb43 am: 950e1be83f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15669032
Change-Id: Ie59b0db6ba150654b93506b9a6df2a67e5932b0b
2021-08-30 21:46:32 +00:00
Jon Miranda
f3bbd98bf8
Allow users to dismiss notifications in popup view.
...
Bug: 193014051
Test: - dismiss notifications (left/right)
- open popup, dismiss notification from shade
and ensure popup gets updates
- open popup, trigger new notification
and ensure popup gets updated
Change-Id: Iea4d458218cbf5cb22f5f89aa0a4cc1bee18cc73
2021-08-30 20:38:16 +00:00
Thiru Ramasamy
4df46b1da2
Add RESERVE_NEW_UI_EVENT_ID field to EventEnum interface.
...
Bug: 193797130
Test: NA
Change-Id: I786ff0222f2fd4c5cbc2598fe4b3e22733233f8b
2021-08-30 11:52:24 -07:00
Samuel Fufa
306700d2ab
Merge "[Work] Fix duplicate work button issue" into sc-v2-dev am: 966e0507d6 am: 5e3818e333
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15675534
Change-Id: Ib4cd68d6242d06da3051255362447092c264e451
2021-08-30 16:47:16 +00:00
y
61212d12f9
[Work] Fix duplicate work button issue
...
Bug: 195623679
Test: manual
Change-Id: I882c5f7a196e07fa0dab3a2f27437abd233ec782
(cherry picked from commit cb5bb989e3 )
2021-08-30 16:26:07 +00:00
Samuel Fufa
966e0507d6
Merge "[Work] Fix duplicate work button issue" into sc-v2-dev
2021-08-30 16:25:40 +00:00
y
cb5bb989e3
[Work] Fix duplicate work button issue
...
Bug: 195623679
Test: manual
Change-Id: I882c5f7a196e07fa0dab3a2f27437abd233ec782
2021-08-30 00:27:21 -07:00
y
8dcd7e0ce7
[Search] Update AllApps header protection
...
- Disables header protection on AOSP
- Fades in/out search box pill instead of sudden movements
- Work tabs protection shows and hides based on scroll position
Bug: 194106968 [APK attached]
Test: Manual
Change-Id: I5532847ddba3d4555003b0934b8fc846dc5a5cc7
2021-08-29 22:56:54 -07:00
TreeHugger Robot
6dcb406277
Merge "Code cleanup from rebase" into sc-v2-dev am: 4a5d3f39fa am: 16ae1d6948
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15698146
Change-Id: I5f41ce39eec283c3043735e6068aea15ac98c715
2021-08-28 01:22:01 +00:00
Vinit Nayak
cdcaf7a2ed
Code cleanup from rebase
...
Bug: 195423591
Change-Id: I623d6ef46458a282e3c63cde0bdc457cb38e4d50
2021-08-27 16:28:12 -07:00
Brian Isganitis
813bf2d243
Merge "Support dark theme in wallpaper launcher preview." into sc-v2-dev am: ca74b4d5be am: 720795a039
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15694616
Change-Id: I8b31956d2f269f2d20fb03518fa9e297bad04e65
2021-08-27 20:20:21 +00:00
Brian Isganitis
ca74b4d5be
Merge "Support dark theme in wallpaper launcher preview." into sc-v2-dev
2021-08-27 19:49:15 +00:00
Brian Isganitis
1094b503f5
Support dark theme in wallpaper launcher preview.
...
Test: Search bar in wallpaper preview follows dark theme without themed
icons enabled.
Fix: 197475508
Change-Id: Ib71356fad3510348c1408c886c4796bc16a59642
2021-08-27 14:23:17 -04:00
Sunny Goyal
bb0305614c
Preventing workspace scroll over QSB area
...
Bug: 189792966
Test: Manual
Change-Id: Ie2fe8e7fb6c80b9cc19d517fe828cf26f54f6f09
2021-08-27 10:38:30 -07:00
TreeHugger Robot
c5f922de83
Merge "Do not reload launcher when changing active display" into sc-v2-dev am: 64a826fa16 am: 486a99ef6f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15676832
Change-Id: Ia783c2a5b198b26f8fe1abf24c2694e351e1d44d
2021-08-27 16:19:53 +00:00
TreeHugger Robot
64a826fa16
Merge "Do not reload launcher when changing active display" into sc-v2-dev
2021-08-27 15:50:56 +00:00
Jerry Chang
09b40241fc
Always refresh device profile when multi window mode changed
...
Launcher monitors multi-window mode changed and updates device profile
through configuration chagned callback. It's possible that a new
configuration contains multi-window mode changed but without screen
size size change that across screen layout qualifier. Client apps might
not even receive onConfingurationChagned.
Updates Launcher to monitor multi-window mode changed through
onMultiWindowModeChanged to make sure it always refreshes device profile
that matches with the latest mulati-window mode.
Fix: 197835119
Test: manual check the repo steps.
Change-Id: Ie99045a1fc8493ff37645b95e7ccd9d15478d862
2021-08-27 14:56:24 +08:00
Andy Wickham
fe6fabaefe
Enables Taskbar Edu by default.
...
Bug: 180605356
Test: Manual
Change-Id: I42fbdabf1e78e92e46a0d8e60a24dd94f499abbe
2021-08-26 14:55:04 -10:00
Hyunyoung Song
c8e52e1039
All apps memory leak fix / unregister data observer am: 6e72c8bbba am: ee23f60dcc am: 22585be55f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687067
Change-Id: If8704813ecebff06656f86c6b586d954087cb507
2021-08-27 00:51:18 +00:00
Hyunyoung Song
22585be55f
All apps memory leak fix / unregister data observer am: 6e72c8bbba am: ee23f60dcc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687067
Change-Id: Ia2114092a86ed7cdbaab6d4a1d6b830329794158
2021-08-27 00:39:57 +00:00
Hyunyoung Song
eaa208bb11
All apps memory leak fix / unregister data observer am: 6e72c8bbba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15687067
Change-Id: I16c9cfc4aec2fa36e1fe465e0093eba1b7b475bf
2021-08-27 00:27:28 +00:00
Sunny Goyal
6e6f79933e
Do not reload launcher when changing active display
...
> Updating IDP to use fixed bitmap sizes, so that the cache
stays valid
> Caching last known windowMetrices for non-active displays and
using estimation only when the cache is not available
> Only reloading model if IDP change could have affected the model
> Remove unnecessary listeners from IDP which are already controlled by
model lifecycle
Bug: 191657065
Test: Manual
Change-Id: Ia8e6dfafd0977e62aa3fcf367ad79f7a49b2df51
2021-08-26 15:55:21 -07:00
Hyunyoung Song
6e72c8bbba
All apps memory leak fix / unregister data observer
...
Bug: 197702957
Test: adb shell dumpsys meminfo com.google.android.apps.nexuslauncher, ahat
Change-Id: Ia5732cced959e4a199d9c2b59f1f3941a2e23552
2021-08-26 15:18:47 -07:00
Android Build Prod User
1021d42bb9
Merge changes Ib2bc8419,Ia41cb0e3,I43bfbc41 into sc-v2-dev am: 2d5a8dc847 am: f08ff393fb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15677716
Change-Id: I98a6730fb4c327fbaf244a2e0713c65a9c1cd6cc
2021-08-26 22:14:50 +00:00
Android Build Prod User
2d5a8dc847
Merge changes Ib2bc8419,Ia41cb0e3,I43bfbc41 into sc-v2-dev
...
* changes:
Animate PredictedAppIcon when its icon changes
Add "wave" animation when entering taskbar edu
Add slot machine animation for PredictedAppIcon
2021-08-26 21:48:07 +00:00
Android Build Prod User
f445d05052
Merge "Add Split button in OverviewActions" into sc-v2-dev am: b862d2c30f am: 1f41b44e14
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587782
Change-Id: I8c902ee15eef2361b4e1b122edb6b74e53b2938d
2021-08-26 20:34:06 +00:00
Tony Wickham
175d152f76
Animate PredictedAppIcon when its icon changes
...
Reuses the slot machine animation to slide in the new icon. Additionally, staggers based on other icons changing before it.
Test: open apps, watch predictions change
Bug: 197780290
Change-Id: Ib2bc84193a9e350c915dd3486b6c98c6c88d3f83
2021-08-26 13:00:51 -07:00
Vinit Nayak
6174106f68
Add Split button in OverviewActions
...
Shows up only for large screen devices, not phones.
Tested for NexusLauncher, general 3P launcher support
needed for staged split (TODO b/195607777)
Bug: 195423591
Change-Id: I4d455769b17637174b590c640516b9fbb6352c3d
2021-08-26 11:49:38 -07:00
András Klöczl
bc1c1ef47d
Merge "Two panel home empty page removing logic change" into sc-v2-dev am: 701c76013c am: d26ecd63e7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15601176
Change-Id: I78e8e9ca5580273f645ea5c8aa096a308b1cb610
2021-08-26 11:24:17 +00:00
András Klöczl
701c76013c
Merge "Two panel home empty page removing logic change" into sc-v2-dev
2021-08-26 11:09:05 +00:00
Andras Kloczl
8c574de97f
Two panel home empty page removing logic change
...
- Don't remove a single page if it's empty, only if both pages are empty.
- Add back empty pages after they were removed while the phone
was on single panel home.
- On two panel home don't add new workspace items onto the second screen
Test: manual
Bug: 196376162
Change-Id: I4c54ffa3b359a236deb3ab67adb54111e77ec896
2021-08-26 12:06:50 +01:00
Vinit Nayak
ced9b107f4
Merge "Fix public variables to not have 'm' prefix" into sc-v2-dev am: f1aa726e9f am: 6c3530c6d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15675535
Change-Id: If0b071648cc0748d1c119400469e8017fb7e9f8b
2021-08-26 00:35:28 +00:00
Vinit Nayak
f1aa726e9f
Merge "Fix public variables to not have 'm' prefix" into sc-v2-dev
2021-08-26 00:07:45 +00:00
Android Build Prod User
736c15be51
Merge changes I54e39cc5,Iec62abae into sc-v2-dev am: 14a7d63c23 am: dec80427e0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15671418
Change-Id: Ie1370d87b4a2d7d3e4286a3c15133038e49caad7
2021-08-25 21:01:02 +00:00
Android Build Prod User
478ba7e93c
Merge "Add feature flag to control two panel home in portrait" into sc-v2-dev am: 543bf45c9b am: 574f72607e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15659589
Change-Id: I0aaae6bc060cf2070304893f9be03c063e6448e8
2021-08-25 20:34:57 +00:00
Android Build Prod User
14a7d63c23
Merge changes I54e39cc5,Iec62abae into sc-v2-dev
...
* changes:
Set thumbnails for GroupedTaskView based on split layout bounds
Implement swipe gesture for staged split in landscape
2021-08-25 20:30:43 +00:00
Android Build Prod User
543bf45c9b
Merge "Add feature flag to control two panel home in portrait" into sc-v2-dev
2021-08-25 20:04:40 +00:00
Vinit Nayak
aa11976cc5
Fix public variables to not have 'm' prefix
...
Bug: 181704764
Change-Id: I89e43ce6cc74119514c8124e7cc61b11dc475f58
2021-08-25 11:59:43 -07:00
Vinit Nayak
c35507dc29
Set thumbnails for GroupedTaskView based on split layout bounds
...
Bug: 181704764
Test: Go to stage split in landscape w/
home rotation on/off, swipe up.
Thumbnails aren't perfectly overlaid, polish needed
Change-Id: I54e39cc5a18f527e80a664d60aca72dfd706ebdc
2021-08-25 11:59:00 -07:00
Thales Lima
efd15ca87b
Merge "workspace: get the correct page when setting paddings" into sc-v2-dev am: 653ae0a524 am: 46eaebba86
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15640815
Change-Id: I652ac2aa0b8484e129e186d3576dfb30eb5d2eba
2021-08-25 12:33:00 +00:00
Alex Chau
4935404399
Return mSynchronouslyBoundPages as getPagesToBindSynchronously between onInitialBindCompleteand finishBindingItems
...
- Otherwise it'll return wrong currentPage value, as currentPage aren't updated until finishBindingItems
- There is still problem that wallpaper jumps to page 0 and then to the desired page: https://drive.google.com/file/d/132Sq5oRZKRclhdh1Ls1RaHNEVXJQcrxC/view?usp=sharing&resourcekey=0-l2N9NWtZ8FqfaVT0bVGVqw
Bug: 191657065
Test: manual
Change-Id: I7ec167b617a8f59865e959d9dd677256b1ab4ef9
2021-08-25 13:21:58 +01:00
Thales Lima
653ae0a524
Merge "workspace: get the correct page when setting paddings" into sc-v2-dev
2021-08-25 11:54:13 +00:00
Alex Chau
b1c36ce938
Add feature flag to control two panel home in portrait
...
Bug: 197723099
Test: manual
Change-Id: I20d7751e09053dc90c495f398334431f390f64bf
2021-08-25 11:54:08 +01:00
Thales Lima
41f33c3cfd
workspace: get the correct page when setting paddings
...
When adding a new page to the workspace, mWorkspaceScreens doesn't
necessarily keeps the order. We should use the mScreenOrder field to get
the correct index of pages.
Fixes: 197198491
Test: drag an app from first page and paddings should be correct
Change-Id: I4f79c164391348b53b71a87d5d49cfc4d3d35e5a
2021-08-25 11:16:13 +01:00