Commit Graph

33358 Commits

Author SHA1 Message Date
Bill Yi fb93c7540c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3e96286c27cbb3a3e1da64613835a34d11088d45
2021-09-18 14:09:45 +00:00
Bill Yi 0f8ffac4c6 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 4146464bf5
Blank merge reason: commit message contains skip directive

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

Change-Id: Ic3693352e3bcd42290249fd743f7f60fc870fc69
2021-09-18 14:09:33 +00:00
Bill Yi 4146464bf5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icaa03a2eefc4d7436c02f023cffd7354d905e977
2021-09-18 14:09:18 +00:00
Bill Yi b49bed150e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4f6ff15783d06d527fbae6de0b211a258795b34e
2021-09-18 14:07:52 +00:00
Bill Yi 4bcd192da1 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: c7f09e8c48
Blank merge reason: commit message contains skip directive

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

Change-Id: Ib716d6b587b36ec72a11c8dac70b2590c33ac031
2021-09-18 14:07:30 +00:00
Bill Yi c7f09e8c48 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I65f321856ccbf90b30625632532dc626dd8f8e72
2021-09-18 14:07:16 +00:00
synch 4ca16e1bb1 extract text conversions from composing text and send them for search
Bug: 196294479
Test: manually
Change-Id: Iba9f1097b6ab8ef1339979ca2a0b4e26cd07144c
2021-09-16 09:55:59 +08:00
Vinit Nayak 6434f8eae5 Show all TaskViews when doing seamless overview rotation
* If user is scrolling and rotates overview in fake
landscape, we wouldn't change the alpha to show if it
was hidden previously.
Now we only skip changing the alpha if it's already visible.

Bug: 194715506
Test: Scroll overview in fake landscape and rotate.
No more invisible task.

Change-Id: Idb519125fbb5ec7be33e0d7b6dd313fb4df684db
2021-09-15 19:17:54 +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 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 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 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
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 b5a33b2d34 Merge "Remove HotseatEduActivity from AOSP" into sc-qpr1-dev 2021-09-07 21:55:23 +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 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 464fc41df7 Merge "Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated" into sc-dev 2021-09-07 17:24:05 +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 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 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 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
y ca685ffcf7 [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-09-02 17:43:04 +00:00
Jonathan Miranda 2f9f6378be Merge "Allow users to dismiss notifications in popup view." into sc-qpr1-dev 2021-09-02 16:34:03 +00:00
Alex Chau dacb37c143 Only call setCurrentPage in applyLoadPlan if mCurrentPage is outdated
- Apply the same for all 3 setCurrentPage cases as they can all causes page jumping

Bug: 197493120
Test: manual
Change-Id: I5f7013ce3ce4d6fe84c67123618c3bebeeffc43a
Merged-In: I5f7013ce3ce4d6fe84c67123618c3bebeeffc43a
2021-09-02 16:06:44 +00:00
Bill Yi 3c4e89d0f7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I44b996552c244ac05c8155883514a0a17b9681b7
2021-09-02 04:39:39 +00:00
Bill Yi 5a1494cc61 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 53900282f8
Blank merge reason: commit message contains skip directive

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

Change-Id: I14b82fbb4abcdb9a1840f058bd9570675900555f
2021-09-02 04:39:11 +00:00
Bill Yi 53900282f8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6d36dc91926963e14ece7d0e2c51c7c13364ed53
2021-09-02 04:39:00 +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
Vadim Caen 84ec20af98 Merge "Disable splash screen for launches from widget." into sc-dev am: 97aaa6e5ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15685202

Change-Id: Ie2fcf73aaa402706eb369f41c0326c3d641974d5
2021-08-30 16:37:31 +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
Vadim Caen 97aaa6e5ae Merge "Disable splash screen for launches from widget." into sc-dev 2021-08-30 15:56:26 +00:00
Bill Yi 0ff89bdbbf [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: e2e15a65d6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I56a5ed571d1a699eef7eb1728b39008d75806cd5
2021-08-29 20:30:14 +00:00
Bill Yi 6e4055c5f8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 3eac3bdadf -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iaf14bfd6a3e9a15c7a34a064cde4582a3901eb7d
2021-08-29 20:29:05 +00:00
Bill Yi 615f7a329c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 9c4f43cf6f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I09113028d4c02930c838b2ffad2452634f9ab453
2021-08-29 20:27:53 +00:00
Bill Yi e2e15a65d6 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-29 20:11:46 +00:00
Bill Yi e2c9a05e73 Merge changes from topic "presubmit-am-af3a9aca4e964a6d8bba7a4113919ae9" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: e44a274170
  Import translations. DO NOT MERGE ANYWHERE
2021-08-29 20:11:46 +00:00
Bill Yi 3eac3bdadf Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-29 20:06:06 +00:00
Bill Yi 30cf131415 Merge changes from topic "presubmit-am-1d1cd88cc63d4a20a2e01c6e7836744e" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 155a13de9f
  Import translations. DO NOT MERGE ANYWHERE
2021-08-29 20:06:06 +00:00
Bill Yi 9c4f43cf6f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-08-29 20:05:18 +00:00
Bill Yi be48c68bd2 Merge changes from topic "presubmit-am-323f1efd13694d1c823ff0877ccea911" into sc-qpr1-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 9ecead5629
  Import translations. DO NOT MERGE ANYWHERE
2021-08-29 20:05:18 +00:00
TreeHugger Robot 255133a2ae Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-08-28 07:58:59 +00:00
TreeHugger Robot f7483291e7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-08-28 07:55:26 +00:00
TreeHugger Robot ad45c62ad1 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev 2021-08-28 07:55:16 +00:00
Hyunyoung Song cb6948a2a2 [automerger skipped] All apps memory leak fix / unregister data observer am: 349c7c82f4 -s ours
am skip reason: Merged-In Ia5732cced959e4a199d9c2b59f1f3941a2e23552 with SHA-1 6e72c8bbba is already in history

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

Change-Id: I33d580c95459e06324d2f281c61e8b4450d5552a
2021-08-27 23:13:14 +00:00
Vadim Caen ee44c4dc1e Disable splash screen for launches from widget.
The transition from a widget to the splash screen icon feels
odd because of the difference in shapes. Disable for S and rework that
in T.

Test: Manually tested with clock and Calendar
Bug: 197504657
Change-Id: Ia375885af967d6ad282dcc7325ad905731c8734d
2021-08-27 19:17:03 +02:00
Hyunyoung Song 349c7c82f4 All apps memory leak fix / unregister data observer
Bug: 197702957

Test: adb shell dumpsys meminfo com.google.android.apps.nexuslauncher, ahat

Change-Id: Ia5732cced959e4a199d9c2b59f1f3941a2e23552
Merged-In: Ia5732cced959e4a199d9c2b59f1f3941a2e23552
(cherry picked from commit 6e72c8bbba)
2021-08-27 16:23:23 +00:00