Commit Graph
60459 Commits
Author SHA1 Message Date
Tony Wickham d455bc44aa Merge "Add recent tasks to Taskbar" into sc-dev am: d10b587003
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13455072

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c0d21577eddf0b90aa4c87be8cdc2c318153f13
2021-02-04 07:00:44 +00:00
Tony Wickham d10b587003 Merge "Add recent tasks to Taskbar" into sc-dev 2021-02-04 06:30:37 +00:00
Tracy Zhou b7763dbc94 Merge "Make sure that RemoteAnimationTargets is not null when redrawLiveTile()" into sc-dev am: 30c4ff467d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13475166

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If688e7dcc2d9668291b48c3a7fd84498f72d4d03
2021-02-04 04:30:36 +00:00
Tracy Zhou 72b615ff53 Merge "Make sure that RemoteAnimationTargets is not null when redrawLiveTile()" into sc-dev am: 30c4ff467d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13475166

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6fa09c7b6e56ad2040f121f15e75715d71105912
2021-02-04 04:30:12 +00:00
android-build-team Robot 9300d41a39 Snap for 7122589 from 95e38a3373 to tm-release
Change-Id: If08ead484cdb5df77278be5c99503070c6ede64d
2021-02-04 04:07:34 +00:00
Tracy Zhou 30c4ff467d Merge "Make sure that RemoteAnimationTargets is not null when redrawLiveTile()" into sc-dev 2021-02-04 03:51:48 +00:00
android-build-team Robot 4aa6799b23 Snap for 7122685 from f4d19f4614 to sc-v2-release
Change-Id: I583ed7a8e1be9d642f20418d584ada16315ef458
2021-02-04 02:57:42 +00:00
android-build-team Robot fce7d19124 Snap for 7122685 from f4d19f4614 to sc-release
Change-Id: I652e5e850dcac16d7f9e4a9d82b17e4003b5230f
2021-02-04 02:57:03 +00:00
Tony Wickham aaa42bd0e8 Add recent tasks to Taskbar
- Also adds a divider between Hotseat and Recents
- Dedupes Recents from Hotseat

Test: Open some recent tasks, ensure they are deduped
from Hotseat and also handle < 2 tasks.

Bug: 171917176
Change-Id: Ia782c6ccbcda94cfd844aad04dc3d25a3f072c2b
2021-02-03 18:54:58 -08:00
Schneider Victor-tulias 1b4d5034fb Fix icon flicker on transition from installing, to installed, to downloading incrementally.
When an app finished downloading, we assumed that its progress level was 100%. This caused flicker in apps that supported incremental downloads. Added a check for the total download progress on app installation.

demo: https://drive.google.com/file/d/11NwwhHj_4rmDFwpsb8gTX-uA5YSinjSj/view?usp=sharing

Fixes: 178745816

Test: manual

Change-Id: I08328296db2ce2c2242fc4fe87158ff4b911c659
2021-02-03 16:39:16 -08:00
vadimt 04ebcf4686 Postponing registering widget listener
For the swipe-to-home gesture, the call will happen
after the animation.

This fixes jank during swiping up from an ap
to home.

Also renaming some methods for clarity.

Bug: 175048504, 173072373
Test: tracing
Change-Id: I070b23edb633d2ac0985d5eb9f75c789f8569772
2021-02-03 23:37:53 +00:00
thiruram d7a29f56c3 [AA+] Log app launches from DeviceSearchResultContainer with instance ID. am: f4d19f4614
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463977

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibe9eea7893cddfc26a2a2930c1b244b45f72453c
2021-02-03 23:12:02 +00:00
thiruram 7a3b751e04 [AA+] Log app launches from AA+ search result container. am: cbeb13d6c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463976

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I05fe332f796079e308c46e4d16d3d813c22eca3c
2021-02-03 23:12:01 +00:00
thiruram 95e38a3373 [AA+] Log app launches from DeviceSearchResultContainer with instance ID. am: f4d19f4614
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463977

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib97dabee7c29d7bbdefdb4ec72f266fe6e9e7761
2021-02-03 23:11:21 +00:00
thiruram d1611099a7 [AA+] Log app launches from AA+ search result container. am: cbeb13d6c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13463976

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib63821f23ac6a8496ebc643b34434ed1c49fc543
2021-02-03 23:11:19 +00:00
Tracy Zhou ce79488572 Make sure that RemoteAnimationTargets is not null when redrawLiveTile()
Fixes: 179289159
Test: manual
Change-Id: I3a5d283582f0899d98717bbbdd146925cc0a4a93
2021-02-03 13:35:42 -08:00
Sunny Goyal 0983b8070d Catching generic app start exceptions in ProxyActivity
Bug: 178815863
Test: None
Change-Id: I39ae2879e107160d552625db2946a439ee14440b
2021-02-03 21:02:31 +00:00
Sunny Goyal b245c552d4 Updating predictions if hotseat items get removed/added as a result of model callback
Bug: 179284787
Test: Verified on device
Change-Id: Iecfc7f291f54aacccc6d2afe674ccd2f20e2035d
2021-02-03 12:57:03 -08:00
thiruram f4d19f4614 [AA+] Log app launches from DeviceSearchResultContainer with instance ID.
This InstanceId is used to recreate the AA+ session on the server side.

Bug: 178562918
Change-Id: I1bba94417d3a142351e2470bb6153707d2cadb11
2021-02-03 10:17:18 -08:00
thiruram cbeb13d6c7 [AA+] Log app launches from AA+ search result container.
This change will update westworld logs for app launches from AA+ search result. Updates log's container info from AllAppsContainer -> AllAppsPlusSearchResultContainer.

Bug: 178562918
Change-Id: I9ffca27fea42951a57640ef36717c04ff0251506
2021-02-03 10:08:57 -08:00
Hyunyoung Song 6f422eefc8 Merge "Support shorter height row layout / Disable ICON_SLICE" into sc-dev am: aa793ff226
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13455478

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4ff76996c4bd44fc9f81f5747cd66e09dbcbae68
2021-02-03 17:13:16 +00:00
Hyunyoung Song 7f4b046baf Merge "Support shorter height row layout / Disable ICON_SLICE" into sc-dev am: aa793ff226
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13455478

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3ae00831bc2b48ab35533845cd887698471a85ef
2021-02-03 17:12:43 +00:00
Hyunyoung Song aa793ff226 Merge "Support shorter height row layout / Disable ICON_SLICE" into sc-dev 2021-02-03 16:47:02 +00:00
Wale Ogunwale 7786595ae5 Launcher3: Added shared lib APIs for Launcher to use split-screen APIs.
Bug: 179176511
Test: presubmits!
Change-Id: Ib66cd533676ec28c3b18549d2b9931cdb2263654
2021-02-03 07:39:20 -08:00
Hyunyoung Song 4ff4e01423 Merge "Logs stack trace when IME doesn't get attached when all apps swipes up" into sc-dev am: 351aea720f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13443531

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I829b7712a8d01f777e18c605d500e1d80813f5b3
2021-02-03 09:34:28 +00:00
Hyunyoung Song 5f0804940e Merge "Logs stack trace when IME doesn't get attached when all apps swipes up" into sc-dev am: 351aea720f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13443531

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie70eb7c612983e56627bd5e1b67b88104fa0959c
2021-02-03 09:34:28 +00:00
Hyunyoung Song 7239df7258 Support shorter height row layout / Disable ICON_SLICE
Bug: 178815297
Bug: 178128837
Bug: 178823469

Test: manual, attached screenshot on the bugreport

Change-Id: Ie69c8928f5acc430320cfc5c85547195866e829e
2021-02-03 01:25:16 -08:00
Hyunyoung Song 351aea720f Merge "Logs stack trace when IME doesn't get attached when all apps swipes up" into sc-dev 2021-02-03 08:33:05 +00:00
android-build-team Robot 8fd5968a82 Snap for 7120416 from d0f5aa0dc6 to sc-v2-release
Change-Id: Ib5f1a00c3ba25524ecff4c17ef1400d41ef7f19d
2021-02-03 08:02:36 +00:00
bsears 443288d3d5 Merge "Revert "Make keyguard exit animation to remote animation."" 2021-02-03 06:19:45 +00:00
Hyunyoung Song 50165042ed Logs stack trace when IME doesn't get attached when all apps swipes up
Bug: 178904132
Test: Manual

Change-Id: I3b62a1a8e927ca8bac4db07053f781260fbff515
2021-02-02 21:42:41 -08:00
android-build-team Robot 1c8e4f7f24 Snap for 7120117 from 422ef8841f to tm-release
Change-Id: I72a0e73a781b2d1cd64619fa00f5d3d61acdde1c
2021-02-03 04:08:23 +00:00
android-build-team Robot 4755f98061 Snap for 7119974 from d0f5aa0dc6 to sc-release
Change-Id: If799e95374d1e05f7b508dc3da3fb06db11dd317
2021-02-03 02:52:05 +00:00
Schneider Victor-tulias 5a0c4e7906 Merge "Update PreloadIconDrawable colors when an app is not startable." into sc-dev am: d0f5aa0dc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13454926

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib56d5af25db79e1e2efe17ff34f594271800a791
2021-02-02 21:51:27 +00:00
Schneider Victor-tulias 422ef8841f Merge "Update PreloadIconDrawable colors when an app is not startable." into sc-dev am: d0f5aa0dc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13454926

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4768ffc6c9af32843caf1d176b80ecdca2efc8db
2021-02-02 21:51:18 +00:00
Tracy Zhou 1b58e1061f Merge "[Live Tile] Fix a bunch of issues related to touch input" into sc-dev am: 18fcb432b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13457899

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7f1ec12f61717251c084b9f124af4929d3a4983d
2021-02-02 21:51:17 +00:00
Tracy Zhou 1579aa6edc Merge "[Live Tile] Fix a bunch of issues related to touch input" into sc-dev am: 18fcb432b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13457899

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6429149ab7b09e85f593a3d1825314f50bf39d2f
2021-02-02 21:50:06 +00:00
Schneider Victor-tulias d0f5aa0dc6 Merge "Update PreloadIconDrawable colors when an app is not startable." into sc-dev 2021-02-02 21:30:15 +00:00
Schneider Victor-tulias 2e292b6343 Update PreloadIconDrawable colors when an app is not startable.
Updated the progress bar and progress track colors when the app is not startable to increase contrast.

Demo: https://drive.google.com/file/d/1iHYBeHgWsItY6edO3NT1RYuXjdKNlEKH/view?usp=sharing

Test: manual

Bug: 171005849

Change-Id: I97bc4e3299108b1e8ef47b498fb3431293f57ad2
2021-02-02 21:30:05 +00:00
Tracy Zhou 18fcb432b1 Merge "[Live Tile] Fix a bunch of issues related to touch input" into sc-dev 2021-02-02 21:04:17 +00:00
android-build-team Robot f3cc673779 Merge cherrypicks of [13462685, 13462400, 13462705] into tm-release
Change-Id: I5ded6126a7494e5b9d68e3987449db18dac3d941
2021-02-02 19:09:14 +00:00
Daniel Chapin c119e2cf30 Revert "Make keyguard exit animation to remote animation."
Revert "Make keyguard exit animation to remote animation."

Revert "Make keyguard exit animation to remote animation."

Revert submission 13354553-KeyguardRemoteAnimation

Reason for revert: Bug: 179122467
Reverted Changes:
I7a70add76:Make keyguard exit animation to remote animation.
I1cd6a86c2:Make keyguard exit animation to remote animation.
I1cd6a86c2:Make keyguard exit animation to remote animation.

Change-Id: Ibef152b95638132ca8476f84b22bccb23dd13c97
(cherry picked from commit 1c720fd8c0)
2021-02-02 19:08:57 +00:00
Daniel Chapin 1c720fd8c0 Revert "Make keyguard exit animation to remote animation."
Revert "Make keyguard exit animation to remote animation."

Revert "Make keyguard exit animation to remote animation."

Revert submission 13354553-KeyguardRemoteAnimation

Reason for revert: Bug: 179122467
Reverted Changes:
I7a70add76:Make keyguard exit animation to remote animation.
I1cd6a86c2:Make keyguard exit animation to remote animation.
I1cd6a86c2:Make keyguard exit animation to remote animation.

Change-Id: Ibef152b95638132ca8476f84b22bccb23dd13c97
2021-02-02 18:57:19 +00:00
Tracy Zhou 035bb22298 [Live Tile] Fix a bunch of issues related to touch input
Here are the issues
- Touch down again during transition of quick switch brings back the previous app
- During transition to overview, touch down on task / in the background area results in weird behaviors

These issues related to touch input are caused by the z-ordering of app and launcher. Because in the current implementation we place launcher on top upon initial swipe up, during the transition (to overview / quick switch), any touch event goes directly to launcher instead of the overview input consumer (where it normally goes to in the non-live tile case), resulting in these weird behaviors mentioned above.

The reason we put app below launcher upon swipe up is to render task view icon earlier (before swipe up settles into overview), which, is not as critical (we don't have the feature now), and we can find other ways to make that happen.

So here are the proposed changes
- Place app on top upon swipe up. Only place launcher on top after transition to overview.
- Remove the temporary fix to disable click for live tile task during transition.
- Remove icon logic in live tile overlay (in this change I only removed the call, but let me know if it's preferred that they are completely removed from LiveTileOverlay in this change)

Test: manual
Fixes: 178640174
Fixes: 175039524
Change-Id: Ib97804c8bbc487bc55160719375c0f2ff3ba7fd3
2021-02-02 10:01:25 -08:00
Hyunyoung Song dd76ad617e Fix issue of slice icon being rendered on non-UIthread am: 5809a40f3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13459790

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8f89de9f49a7a8f3843dd5e29443a09e7a6d5187
2021-02-02 15:50:55 +00:00
Hyunyoung Song c583f5ae1b Fix issue of slice icon being rendered on non-UIthread am: 5809a40f3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13459790

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I42e00827cd9bc3b665893b9fd52407604aef9a7a
2021-02-02 15:47:38 +00:00
Andy Wickham 5d780ccb7b Merge "Allows a plugin Settings activity to designate plugins it supports." into sc-dev am: ad1d1cfda0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13452494

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I402dc2f24e990891b3bdfea48e3e332b2e4ec071
2021-02-02 09:30:55 +00:00
Andy Wickham 9c5ccc42da Merge "Allows a plugin Settings activity to designate plugins it supports." into sc-dev am: ad1d1cfda0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13452494

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic3a7da84ed262bd9d860328a5d93eecd23823fbe
2021-02-02 09:29:01 +00:00
Hyunyoung Song 5809a40f3e Fix issue of slice icon being rendered on non-UIthread
Bug: 178989579
Test: Manual

Change-Id: I23aa5055c8f07ee9877c1f3ce51cb280ac38a2b7
2021-02-02 01:25:45 -08:00
Andy Wickham ad1d1cfda0 Merge "Allows a plugin Settings activity to designate plugins it supports." into sc-dev 2021-02-02 08:57:51 +00:00