Commit Graph
49925 Commits
Author SHA1 Message Date
Issei Suzuki 192f662963 Make keyguard exit animation to remote animation.
The change is disabled by default. To enable remote animation, one needs
to set a property and to restart the WMS.

% adb root
% adb shell setprop persist.wm.enable_remote_keyguard_animation 1
% adb reboot

Test: Existing tests pass.
Bug: 175686676
Bug: 179122467
Exempt-From-Owner-Approval: The owner already gave +2 on the exactly same CL.
Change-Id: I3054ce4bbb296f09ab8bc12595f2ad17b32db7b4
2021-02-05 15:00:46 +00:00
Hyunyoung Song 681154e533 After AA+Search Edu, bring up IME
Bug: 179154570
Test: Manual

Change-Id: I2d010103dd37b84b3672ba0d6ff5897373991585
2021-02-05 00:29:06 -08:00
Hyunyoung Song da74a44511 Enable slice again
Bug: 179068415
Test: manual
Change-Id: Ib2e8d17d91488719eb439fd55c8b24e62338fc94
2021-02-04 20:57:59 -08:00
Andy Wickham 35d17b7982 Creates BcSmartspaceDataPlugin interface to provide mock data to BC Smartspace. am: 350e1dbb0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13464464

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I82ee1cbf2f0df76578cc86fe91e593d5a0174b00
2021-02-05 03:37:20 +00:00
Andy Wickham d79ef26cdb Creates BcSmartspaceDataPlugin interface to provide mock data to BC Smartspace. am: 350e1dbb0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13464464

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id8b1cc735451b913415d2b6f38f699e5f841639a
2021-02-05 03:37:14 +00:00
android-build-team Robot f1ed7ffe9d Snap for 7125381 from b0bff050f2 to sc-v2-release
Change-Id: Ie725771aed0732b31629cf67f88b255b50478a44
2021-02-05 02:08:02 +00:00
android-build-team Robot 8424ad5ad8 Snap for 7125381 from b0bff050f2 to sc-release
Change-Id: I566b2f3e246e979f156b62199a032247f1744cfb
2021-02-05 02:07:35 +00:00
Andy Wickham 350e1dbb0f Creates BcSmartspaceDataPlugin interface to provide mock data to BC Smartspace.
Bug: 178536734
Test: Manually using implementation in SupportApp
Change-Id: Ia1cfbbf2944ca5f92e9e7144076eb15878e164d1
Merged-In: Ia1cfbbf2944ca5f92e9e7144076eb15878e164d1
2021-02-05 01:37:48 +00:00
Lucas Dupin 993fed2346 Style updates
- Make pop ups use system colors
- Text colors in dark theme should also use system colors

Test: visual
Bug: 179427049
Change-Id: I9c0eb2b6970ff9bf66fe1d5c0040b10bfa2087b0
2021-02-04 17:16:08 -08:00
thiruram 4fc871f977 [AA+] Add LAUNCHER_ALLAPPS_ENTRY, LAUNCHER_ALLAPPS_EXIT events.
This would help us to define clear start and end events for AllApps sessions on the server side.

Bug: 178562918
Change-Id: I77f236c9bc1a21e868545b1309e47d91d6fc1d96
2021-02-04 16:48:07 -08:00
Sunny Goyal 90c281460e Merge "Moving slice loading on a background thread" into sc-dev am: b0bff050f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13473795

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3df1615746d3012d15321ded344c930651795225
2021-02-04 23:55:52 +00:00
Sunny Goyal b02bf7e15b Merge "Moving slice loading on a background thread" into sc-dev am: b0bff050f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13473795

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I025fc20f5fe66b8ab3c4cab57ca6fdbc2ad97f30
2021-02-04 23:55:06 +00:00
Sunny Goyal b0bff050f2 Merge "Moving slice loading on a background thread" into sc-dev 2021-02-04 23:29:42 +00:00
Sunny Goyal a3ed46f8f3 Merge "Updating predictions if hotseat items get removed/added as a result of model callback" into sc-dev am: d028812c9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13474773

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib5ff4bbf4d340b6263db7f14cc610ccbc71080a7
2021-02-04 22:01:40 +00:00
Sunny Goyal 659eb569d6 Merge "Updating predictions if hotseat items get removed/added as a result of model callback" into sc-dev am: d028812c9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13474773

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibf41063bac9f48410f0973323463af0748783cd2
2021-02-04 22:00:24 +00:00
Sunny Goyal d028812c9e Merge "Updating predictions if hotseat items get removed/added as a result of model callback" into sc-dev 2021-02-04 21:36:45 +00:00
Sunny Goyal 79e52fc23b Moving slice loading on a background thread
> Also fixing slice icon loading, such that the request is cancelled
  if views are recycled quickly
> Loading widget label on dg thread and cancelling request if views
  are recycled quickly.

Bug: 179068415
Test: verified locally
Change-Id: Id5a524e2bf596862330a8170394aef9ffd708544
2021-02-04 13:03:33 -08:00
Wale Ogunwale da7896126b Merge "Launcher3: Added shared lib APIs for Launcher to use split-screen APIs." into sc-dev am: ed8473357d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13472974

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0a17378471a91dd60fb9b3f3382e56cd1681756c
2021-02-04 19:46:02 +00:00
Wale Ogunwale fa6408ed74 Merge "Launcher3: Added shared lib APIs for Launcher to use split-screen APIs." into sc-dev am: ed8473357d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13472974

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9e11c85200597cf0377bd2baeef18c0ae5efd7e7
2021-02-04 19:46:01 +00:00
Wale Ogunwale ed8473357d Merge "Launcher3: Added shared lib APIs for Launcher to use split-screen APIs." into sc-dev 2021-02-04 19:45:15 +00:00
Samuel Fufa 3a39b56434 Only show OOBE once
Bug: 179333425
Test: Manual
Change-Id: I23de8fffa31ae06b0f4feccfb75144c7c55143c2
2021-02-04 13:06:38 -06:00
Schneider Victor-tulias 782d1dd4cb Merge "Fix icon flicker on transition from installing, to installed, to downloading incrementally." into sc-dev am: 2fd2694b9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13475165

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib4fa6985223ed18e3db68e454f1f754d2b199583
2021-02-04 18:47:29 +00:00
Schneider Victor-tulias 8914f1dcc2 Merge "Fix icon flicker on transition from installing, to installed, to downloading incrementally." into sc-dev am: 2fd2694b9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13475165

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1102de2535c89ce5cede92a7a6fe57036469910d
2021-02-04 18:43:45 +00:00
Schneider Victor-tulias 2fd2694b9c Merge "Fix icon flicker on transition from installing, to installed, to downloading incrementally." into sc-dev 2021-02-04 18:19:08 +00:00
Tony Wickham 63fc59b801 Use SYSTEM_APPLICATION_OVERLAY instead of SYSTEM_ALERT_WINDOW for Taskbar
Test: Taskbar still shows up and works, can't hide it from Settings
Bug: 169054709
Change-Id: I0d2f9be8a0af2242472d8406bbc31a6aecaa9285
2021-02-04 10:07:59 -08:00
Alex Chau 9ef21a51bb Ensure isTablet is only enable when simulated landscape is disabled am: 4e2c25a788
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13472281

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia0216cea8b78553ebb15dd288ed6d986b04841b3
2021-02-04 11:44:22 +00:00
Alex Chau edfb09bab3 Ensure isTablet is only enable when simulated landscape is disabled am: 4e2c25a788
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13472281

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9dd014c00a00602453327fe656f2fbd9f0685d0e
2021-02-04 11:44:13 +00:00
Alex Chau 4e2c25a788 Ensure isTablet is only enable when simulated landscape is disabled
- Tablet UI (e.g. grid overview and two panel workspace) is built with assumption that simulated landscape is disabled, make sure this is the case in DeviceProfile
- This is usually true as swDPs is generally smaller than sw used to determine xml files

Bug: 174464656
Test: Try different combination of smallest width and Display Size, isTablet is only set when allow_rotation is true
Change-Id: I3ee1c76909f29b6f14c4032be812bb8c9ea7e827
2021-02-04 11:24:06 +00:00
Tony Wickham 158f71d3ec 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: Ib0b5d2735d621edb7fc229b749f28c22382ee66d
2021-02-04 07:01:07 +00:00
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
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