Commit Graph
34053 Commits
Author SHA1 Message Date
Brian Isganitis 23e8fd30cd Enable widgets in launcher preview flag am: 21faa2a3de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15822859

Change-Id: I255509bc1b4399c75b794a11e99cf0651f5ee4f7
2021-09-15 19:04:53 +00:00
Brian Isganitis 57982bd25d Load widgets in wallpaper app launcher preview am: 62a6271d9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829075

Change-Id: I4bbdbd0428ae6f9ca40e3bd5a6b72052de76f732
2021-09-15 19:04:53 +00:00
Sunny Goyal 45d3c5f1e1 Fixing widget not laid-out properly in preview am: 828154a2b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15829074

Change-Id: I553d6c850864041ccfa1c69062beb1fa0d44b887
2021-09-15 19:04:52 +00:00
Brian Isganitis 9eb2171cac Add flag for widgets in Launcher preview am: d1d6713700
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15828620

Change-Id: I84e480cc4730ee7e029a6da12f61f468183023a4
2021-09-15 19:04:51 +00:00
Brian Isganitis 21faa2a3de Enable widgets in launcher preview flag
Test: Widgets fully load in launcher preview with correct size and color
Fix: 185306338, 191499358
Change-Id: I2d02d7a1328ed9ef5d3dfbec090dc1f9908dd527
Merged-In: I2d02d7a1328ed9ef5d3dfbec090dc1f9908dd527
2021-09-14 15:20:41 -04:00
Brian Isganitis 62a6271d9c Load widgets in wallpaper app launcher preview
Test: Widgets in wallpaper app launcher preview rendered
Bug: 185306338
Change-Id: I38569d2ff0b64ba55eb188afa42fba4100aae7ff
Merged-In: I38569d2ff0b64ba55eb188afa42fba4100aae7ff
2021-09-14 15:19:33 -04:00
Sunny Goyal 828154a2b2 Fixing widget not laid-out properly in preview
Bug: 185306338
Test: Manual
Change-Id: Ib1ec8a53e4701f6813813b86bf481b837127a909
Merged-In: Ib1ec8a53e4701f6813813b86bf481b837127a909
2021-09-14 15:14:44 -04:00
Brian Isganitis d1d6713700 Add flag for widgets in Launcher preview
Test: Flag available in developer options (does nothing)
Bug: 185306338
Change-Id: I74063d0ef29f828f740633ce0dab860672f69d3d
Merged-In: I74063d0ef29f828f740633ce0dab860672f69d3d
2021-09-14 15:14:26 -04:00
Sunny Goyal 83d4b37ff2 Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: d73fa1ef92
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: I1fb64c259235817fd3eec124c61f2dbe9f28d2b7
2021-09-13 23:42:01 +00:00
Sunny Goyal ce5d91df28 Fixing ModelPreload cancelling existing load am: 57d4f748b8 am: 90c6b6a19f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: Ia8b7c3c8af44f082d9906fc2e2644e4846d87c4f
2021-09-13 23:33:00 +00:00
Sunny Goyal d73fa1ef92 Fixing ModelPreload cancelling existing load am: 57d4f748b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: Iefe6ef941158a9c5b6eada7c71e8633b96ac4233
2021-09-13 23:24:13 +00:00
Sunny Goyal 90c6b6a19f Fixing ModelPreload cancelling existing load am: 57d4f748b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15820555

Change-Id: Ibef6096d876ec9e44be982bc53865ca1a97579b2
2021-09-13 23:23:01 +00:00
Colin Cross c77571ba56 [automerger skipped] Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master am: 2ed25e3555 -s ours am: a171d51133 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 ca34b4d571 is already in history

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

Change-Id: Ic1991a3163ec9945c0401b94bb65263ebf90947b
2021-09-13 21:22:11 +00:00
Colin Cross a171d51133 [automerger skipped] Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master am: 2ed25e3555 -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 ca34b4d571 is already in history

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

Change-Id: I2e1f58c6291e8d8ae6c48b6adb7e2d3fc3b99277
2021-09-13 21:14:31 +00:00
Colin Cross 2ed25e3555 Merge changes from topic "androidx_drop-stage-aosp-master" into stage-aosp-master
* changes:
  Temporarily disable Launcher3 tests affected by fling changes
  Disable eager initialization of Jetpack libraries
2021-09-13 21:10:01 +00:00
Sunny Goyal 57d4f748b8 Fixing ModelPreload cancelling existing load
When a model preload call was made while the loader task is running
(eg: on enabling/disabling icon theme, Launcher reloads and then
launcher preview start a model-preload), it would cancel the original
loader and then start a new loader with empty callbacks. So the
model indeed get loaded, but the original callbacks never got notified
of it.

> Instead we only start preload if an existing task is not running.
> Also when preloading, we use existing callbacks, instead of using
  empty callbacks

Bug: 193851085
Bug: 195155924
Test: Verified repro steps
Change-Id: I0a96310be8489756f364aa2a12e4345e1418733d
2021-09-13 17:47:29 +00:00
Samuel Fufa 5997c4a0e3 [AllApps] Polish views according to specs am: eb500d53d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15748888

Change-Id: Ie5084aad97ca3f5ce9db33b7534dc046860c3b29
2021-09-10 16:04:18 +00:00
Samuel Fufa eb500d53d9 [AllApps] Polish views according to specs
Bug: 196391749 Update work edu button stroke color
Bug: 195497351 Update header font size for work apps paused state
Bug: 192673256 Show ArrowTip elevation
Bug: 192668800 Support for two line PopupOption view
Test: visual
Change-Id: I65f8c6152f54306756d6cb66de2581aff45b8d47
Merged-In: I65f8c6152f54306756d6cb66de2581aff45b8d47
2021-09-09 16:45:05 -07:00
Bill Yi 2d5933ed56 [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours am: 6772e75a3f -s ours am: 62d10a162a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I26f894873c13c18daaf75127eb7cdfe985540a77
2021-09-09 22:29:34 +00:00
Bill Yi 62d10a162a [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours am: 6772e75a3f -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id6bc21f566eee79f19de15d17f657cac8b177ce0
2021-09-09 22:11:55 +00:00
Colin Cross 9b17656ba1 Merge changes from topic "androidx_drop-sc-dev-plus-aosp" into sc-dev-plus-aosp am: af52aea9a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689632

Change-Id: Ibeb279183863d166ba52922437e0a7b73d5bb124
2021-09-09 21:57:04 +00:00
Alan Viverette 9713c150f2 Disable eager initialization of Jetpack libraries am: 58dd935348
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689631

Change-Id: I3921743bf36e8d8978f6b4d62c8d5ddcf99462a5
2021-09-09 21:56:54 +00:00
Alan Viverette 183bca2dcc Temporarily disable Launcher3 tests affected by fling changes
Bug: 197802324
Test: TaplTestsLauncher3
Change-Id: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
Merged-In: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
(cherry picked from commit bc4dc49c6c)
2021-09-09 14:41:05 -07:00
Alan Viverette 94b8f0f6e4 Disable eager initialization of Jetpack libraries
Bug: 197780098
Test: Launcher3 tests
Change-Id: I8f921ae26e873822ac2340ad78449cf1040af4cf
Merged-In: I8f921ae26e873822ac2340ad78449cf1040af4cf
(cherry picked from commit a88802ee92)
2021-09-09 14:41:03 -07:00
Bill Yi 6772e75a3f [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0d033f37eff5f00df3607ba3b94f239a4d6988f2
2021-09-09 21:39:33 +00:00
Bill Yi d9c9ceecc3 Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" 2021-09-09 21:27:24 +00:00
Colin Cross af52aea9a3 Merge changes from topic "androidx_drop-sc-dev-plus-aosp" into sc-dev-plus-aosp
* changes:
  Temporarily disable Launcher3 tests affected by fling changes
  Disable eager initialization of Jetpack libraries
2021-09-09 21:22:24 +00:00
Bill Yi c4aa9af1ce Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE
Merged-In: I73e01a9461ec61f09c776977b1ecb49ad9de991d
Merged-In: Ica201e7c4918e764197a6aac639f7966e3e588bd
Merged-In: Ica201e7c4918e764197a6aac639f7966e3e588bd
Change-Id: Ifdc908d4a1adae19346b70202f743a9087ee4a71
2021-09-08 17:57:10 -07: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 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
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 b5a33b2d34 Merge "Remove HotseatEduActivity from AOSP" into sc-qpr1-dev 2021-09-07 21:55:23 +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
Samuel Fufa 832043d1c9 Merge "[Search] Update AllApps header protection" into sc-qpr1-dev 2021-09-07 19:57:31 +00:00
Alex Chau a91e919440 [automerger skipped] Merge "Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated" into sc-dev am: 464fc41df7 am: 32d872b840 -s ours
am skip reason: Merged-In I5f7013ce3ce4d6fe84c67123618c3bebeeffc43a with SHA-1 dacb37c143 is already in history

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

Change-Id: If0fc6a945b27a091501e4290be34ed2b21dad203
2021-09-07 17:58:48 +00:00
Alex Chau 24a0615192 Merge "Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated" into sc-dev am: 464fc41df7 am: 676892da5a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15742147

Change-Id: Ie6638945a9d1ffc37b59ae6ec695a748065aff72
2021-09-07 17:58:40 +00:00
Alex Chau 32d872b840 Merge "Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated" into sc-dev am: 464fc41df7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15742147

Change-Id: I13e5176c8f53e176d8e94f418828452019deb8ff
2021-09-07 17:44:44 +00:00
Alex Chau 676892da5a Merge "Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated" into sc-dev am: 464fc41df7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15742147

Change-Id: I8cdd82482645c0d0f7c710e5a519a4e5a8f25492
2021-09-07 17:43:46 +00:00
Alex Chau 464fc41df7 Merge "Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated" into sc-dev 2021-09-07 17:24:05 +00:00
TreeHugger Robot a18c4311b5 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev am: 5ea5f90397
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15713050

Change-Id: I08e4ee97b0bac5b3f01bf947922169b96070e442
2021-09-04 06:48:02 +00:00
TreeHugger Robot 5ea5f90397 Merge "[Work] Fix duplicate work button issue" into sc-qpr1-dev 2021-09-04 06:36:28 +00:00
Tony Wickham eaca6fd847 Call onUserUnlocked() before adding callbacks am: 5a36b919b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756866

Change-Id: I6877f73522a00f377f4fd8a724423021b969b0cb
2021-09-04 03:13:40 +00:00
Tony Wickham 5a36b919b5 Call onUserUnlocked() before adding callbacks
This gives us a chance to initialize things in onUserUnlocked() if we're already unlocked, before doing any other logic that might use those variables.

Test: None (unable to reproduce)
Fixes: 184773649
Change-Id: I72ed91ae6202ec816f9bdceb4d9fd03b9a002816
2021-09-03 22:07:18 +00:00
Bill Yi bffa346fa6 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8 am: 7e2c3baab5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1d8c9090d573b36983754167984e7c4225310e74
2021-09-03 20:55:20 +00:00
Bill Yi c0733c610e Merge changes from topic "presubmit-am-ea2c5bf4ed4240198cb9e89cc342074c" into sc-qpr1-dev am: 5892321516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15744737

Change-Id: Ia3c9101e992ea3520c42c8033ace2443c24bacbb
2021-09-03 20:54:59 +00:00
Bill Yi 1ee95f13ff [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8 am: 5a1494cc61 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia04104e4d42932b2de444f7a9adf520f6767ac4f
2021-09-03 20:54:58 +00:00
Bill Yi 5892321516 Merge changes from topic "presubmit-am-ea2c5bf4ed4240198cb9e89cc342074c" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8
  Import translations. DO NOT MERGE ANYWHERE
2021-09-03 20:33:38 +00:00
TreeHugger Robot 4774e9bcbb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: e7663d1f37 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I15b134fea31cd492abeaa162de56b588ff8ad346
2021-09-03 17:06:17 +00:00
TreeHugger Robot e7663d1f37 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-09-03 16:54:30 +00:00
y ac68842059 Remove HotseatEduActivity from AOSP
Bug: 191882450
Test: manual
Change-Id: Ic60ef6fec6c3d8162cb3d11b0ed3c9f89f6b5704
2021-09-02 18:18:59 +00:00