Commit Graph

34630 Commits

Author SHA1 Message Date
Hyunyoung Song f04391896a Prevent NPE inside iconloader library
Bug: 120439430

Even though there is @NonNull annotation, customers may not respect
this annotation.

Change-Id: I01679d01f6920c3cc945c4abe757b907f150aa23
2019-02-12 09:59:15 -08:00
Xin Li 3de3cf0bce DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master
Bug: 124234733
Change-Id: I2a9c871f67bdb715e266d8b4de8d225d28168414
2019-02-12 09:53:42 -08:00
Hyunyoung Song 224b028092 Increase icon cache version
Bug: 123939586

TL;DR;; For users that lost the change icon shape setting in home settings,
their icons will start upgrading to circle resulting in inconsistent
shapes.

Change-Id: Ibe5f1cdcc39a6b8688c287f46bcc7d7b09302b27
2019-02-12 09:23:04 -08:00
Hyunyoung Song 9b523459d9 Merge "[DO NOT MERGE] Change OWNERS file" 2019-02-12 04:36:08 +00:00
TreeHugger Robot 5a518a9b8b Merge "Sending notification and widget changes to a listner so that popups outside Launcher can also listen for changes" into ub-launcher3-master 2019-02-12 00:44:39 +00:00
Sunny Goyal 202ae0b0f5 Sending notification and widget changes to a listner so that
popups outside Launcher can also listen for changes

Change-Id: I2eb2d8374a6806381e1c682eaef3cc35f30693df
2019-02-11 16:23:11 -08:00
Sunny Goyal beb5d7cadb Always initializing the TouchConsumer on the main thread
> Creating a separate shared state class instead of storing the full TouchConsumer
> Moving all RecentsAnimationCallback on the main thread, instead of routing it through
  the event queue

Bug: 124255113
Change-Id: I7891dfa4ad4a8d81152b7b36991682535fd54f46
2019-02-11 15:56:31 -08:00
Hyunyoung Song 34d03b1c38 [DO NOT MERGE] Change OWNERS file
Test: doesn't affect build

Change-Id: I60e63a054b7a9ae55b1f19f5e7e73b7647517d49
2019-02-11 15:41:11 -08:00
vadimt d4090431f5 Quick plug to solve flakiness caused by switching QS on/off
Will be followed by a better fix.

Test: Stress-testing with TAPL
Change-Id: Ie0ca1e9b7c6c9a885c752df5f76903898615e8fb
2019-02-11 10:52:31 -08:00
android-build-team Robot e028e3d344 Snap for 5297348 from 6020f4eea3 to qt-release
Change-Id: I4c15b8c26750dc1f89b0a492cdfc5e0478c1255d
2019-02-10 04:05:50 +00:00
Lucas Dupin 330b857c42 Fixed corner radius during app launch
Change-Id: I9490bc359b93f9ca8b7c1dad2d93e90d0fba5ac8
Fixes: 122554807
Test: visual
2019-02-09 22:48:27 +00:00
android-build-team Robot e9d794179a Snap for 5180536 from d0c1bc472f to pi-platform-release
Change-Id: I5c35f8e7d132d7618a95f58ae9d9676a176657b1
2019-02-09 02:37:08 +00:00
Vadim Tryshev 12a9f3f6e0 Merge "Waiting for the drop bar to go away after dragging an icon" into ub-launcher3-master 2019-02-09 02:20:30 +00:00
TreeHugger Robot 2861656084 Merge "One thread to rule them all" into ub-launcher3-master 2019-02-08 20:43:11 +00:00
Sunny Goyal 451987c5e6 One thread to rule them all
Moving all quickstep event handling to main thread and removing
multi-thread logic.
Using system input dispatcher for handling event queue to that
velocity tracker works properly on different threads.

Bug: 123833655
Change-Id: I7c5004c32411da4144103112905ff6b40ed700ab
2019-02-08 12:33:22 -08:00
TreeHugger Robot a5e0f43a37 Merge "Slowing down workspace test fling" into ub-launcher3-master 2019-02-08 20:02:37 +00:00
Vadim Tryshev 06344e7987 Slowing down workspace test fling
This will eliminate test flakiness

Test: tapl tests
Change-Id: I258f5e134771a93519fa1474ae09df3eac8a825f
2019-02-08 11:50:19 -08:00
TreeHugger Robot 2bed872472 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2019-02-08 15:40:22 +00:00
Bill Yi ef5634d308 Import translations. DO NOT MERGE
Change-Id: I56191aecd8c7b6c8472afc1ff07e3b0cb853da9e
Auto-generated-cl: translation import
2019-02-07 20:50:32 -08:00
Tony Wickham 6020f4eea3 Merging ub-launcher3-master, build 5292167
Test: Manual

Bug:111139480 Dark theme color mismatch on notifications
Bug:111926330 [Quickstep 2] Nav bar, gestures, edge-to-edge, and OEM updates
Bug:116018969 [GAR] [Widgets] TB announcing actions that are not supported in widget picker
Bug:116023881 [GAR] Launcher shortcuts announces unsupported actions
Bug:117888000 Digital Wellbeing - Implement pausing apps from Launcher
Bug:118319143 Digital Wellbeing - Implement showing app's remaining time in Launcher
Bug:120628042 Add race condition repro tests
Bug:122524192 Create release process for ThemePicker/WallpaperPicker2/WallpaperPickerGoogle
Bug:123300025 crosshatch_svelte doesn't boot on ToT master on 1/23
Bug:123775469 Tests fail when Launcher accesses removed API
Bug:124001115 Window corner radius not matching display radius

Change-Id: I8bfb795eaa3b45a8ce5988620b12ec1e632df23e
2019-02-08 04:20:13 +00:00
vadimt 5bc87ec9ae Removing "accessibility drag" action for shortcuts in menu
It's not supported there and causes Launcher to crash

Bug: 116023881
Test: Manual
Change-Id: Ib8a99ffeed41c3c3b70dec6bab7c5330a0412c66
2019-02-07 19:44:08 -08:00
vadimt 2341e5b09f Not using reflection for app-usage API
Plus, avoiding cross-user calls (pausing work profile apps is not
supported anyways).

Bug: 118319143
Test: Manual
Change-Id: I219f48b24e56ccc359384ff072d9aa57c545925f
2019-02-07 17:18:12 -08:00
TreeHugger Robot 8fa51172f6 Merge "Remove grid provider from launcher until all apps grid is addressed" into ub-launcher3-master 2019-02-07 22:55:45 +00:00
Hyunyoung Song 7545349cd0 Remove grid provider from launcher until all apps grid is addressed
Change-Id: Ia8232e77241d550239a62f8827cf2ef6711ec909
2019-02-07 14:39:00 -08:00
Hyunyoung Song 21ca044bbf Merge "Add a flag to turn on theme picker in wallpaper picker" into ub-launcher3-master 2019-02-07 22:37:39 +00:00
Hyunyoung Song 29e5d44a63 Add a flag to turn on theme picker in wallpaper picker
Bug: 122524192
Change-Id: I79bd8bde359a56185c1dd0c10964695263d0f6d5
2019-02-07 14:16:32 -08:00
Hyunyoung Song 91cdbe58a2 Merge "Revert "Not using reflection for all limit API"" into ub-launcher3-master 2019-02-07 20:15:49 +00:00
Hyunyoung Song 9ca02567dd Revert "Not using reflection for all limit API"
This reverts commit 8baf921416.

Reason for revert: Constant crash whenever entering recents view

Change-Id: I695aa43686367379b3921a2665db490f6ac983a1
2019-02-07 19:29:16 +00:00
Vadim Tryshev 2015b3bf65 Waiting for the drop bar to go away after dragging an icon
This should remove test flakes like: https://sponge.corp.google.com/target?show=FAILED&sortBy=STATUS&id=2c560d05-9d50-4fad-9798-dc77858f2d11&target=com.android.launcher3.tests

Test: AOSP TAPL tests
Change-Id: I01899bec349ed507a03fd02196a35990c48fd46b
2019-02-07 10:43:43 -08:00
Anton Hansson 881f8f124a [automerger skipped] Merge "Require privapp grants for all launcher3 apps" am: 35d5c05428 am: 3103281161
am: b04a778da6 -s ours
am skip reason: change_id I295ed7f1d65d1e6b4ba6364b2468182353340bbb with SHA1 cff8024a08 is in history

Change-Id: Ifd47df99ab188949ae421ab92ea0d303465ce528
2019-02-07 08:33:26 -08:00
Anton Hansson b04a778da6 Merge "Require privapp grants for all launcher3 apps" am: 35d5c05428
am: 3103281161

Change-Id: I91ce199421c8203d89dd7f242955e20b57551a28
2019-02-07 08:28:07 -08:00
Anton Hansson 3103281161 Merge "Require privapp grants for all launcher3 apps"
am: 35d5c05428

Change-Id: Ie99893344ee81898260af6e49c384f914d64b172
2019-02-07 08:23:22 -08:00
Anton Hansson 35d5c05428 Merge "Require privapp grants for all launcher3 apps" 2019-02-07 16:13:42 +00:00
android-build-team Robot ca6741e9b7 Snap for 5289249 from 1d82cfb1f0 to qt-release
Change-Id: I02b2b90d63e72567916fb7028308b5229541cfa4
2019-02-07 04:07:36 +00:00
TreeHugger Robot fa8df691d1 Merge "Fix duration when scrolling back to launch LAST_TASK" into ub-launcher3-master 2019-02-07 00:56:57 +00:00
Lucas Dupin 1d82cfb1f0 Merge "Fix issue where animation progress would be overridden" 2019-02-07 00:02:29 +00:00
Lucas Dupin 1ea481ad83 Fix issue where animation progress would be overridden
Change-Id: I7ce6452a5cf412b74b404e8c3400b60660998f22
Fixes: 124001115
Test: visual
2019-02-06 22:21:53 +00:00
Lucas Dupin e4ce366238 Fix issue where animation progress would be overridden
Change-Id: I7ce6452a5cf412b74b404e8c3400b60660998f22
Fixes: 124001115
Test: visual
2019-02-06 17:09:54 -05:00
TreeHugger Robot 2fe83ec929 Merge "Removing "remove" accessibility action for deep shortcuts in menu" into ub-launcher3-master 2019-02-06 20:29:25 +00:00
vadimt 26850a2f3f Removing "remove" accessibility action for deep shortcuts in menu
Bug: 116023881
Test: Manual
Change-Id: Ia9c25e2e1b4cbca9d2c87a17464c175733955ccf
2019-02-06 12:18:51 -08:00
vadimt 8baf921416 Not using reflection for all limit API
Bug: 118319143
Test: Manual
Change-Id: I666f19450403f1020a52136a74aa97383c666345
2019-02-06 12:09:18 -08:00
Anton Hansson e4c4378c24 Require privapp grants for all launcher3 apps
The privapp permission grant file for launcher3 was previously only
installed for Launcher3QuickStep, which is the default launcher app
in the AOSP product config.

Make other apps use it too for products that override
Launcher3QuickStep (or use one of the other variants).

Bug: 123300025
Test: build/boot product with Launcher3QuickStepGo
Change-Id: I295ed7f1d65d1e6b4ba6364b2468182353340bbb
Merged-In: I295ed7f1d65d1e6b4ba6364b2468182353340bbb
2019-02-06 17:09:33 +00:00
Anton Hansson 3e75460459 Require privapp grants for all launcher3 apps
The privapp permission grant file for launcher3 was previously only
installed for Launcher3QuickStep, which is the default launcher app
in the AOSP product config.

Make other apps use it too for products that override
Launcher3QuickStep (or use one of the other variants).

Bug: 123300025
Test: build/boot product with Launcher3QuickStepGo
Change-Id: I295ed7f1d65d1e6b4ba6364b2468182353340bbb
2019-02-06 16:51:30 +00:00
Tony 3c477492de Fix duration when scrolling back to launch LAST_TASK
Bug: 111926330
Change-Id: Ief8b5eb3dc2c50a1a06ea9e3adbf89f6c1cf157b
2019-02-06 11:20:56 -05:00
Anton Hansson cff8024a08 Require privapp grants for all launcher3 apps
The privapp permission grant file for launcher3 was previously only
installed for Launcher3QuickStep, which is the default launcher app
in the AOSP product config.

Make other apps use it too for products that override
Launcher3QuickStep (or use one of the other variants).

Bug: 123300025
Test: build/boot product with Launcher3QuickStepGo
Change-Id: I295ed7f1d65d1e6b4ba6364b2468182353340bbb
2019-02-06 15:21:48 +00:00
Tony Wickham db3d82a8ab Merge "Allow for continuous scrolling to previous tasks" into ub-launcher3-master 2019-02-05 23:17:56 +00:00
Sunny Goyal bcadb7f4ba Changing some colors for folderIcon in dark themes
Bug: 111139480
Change-Id: I5b338c6faf61626a21f703da37b95466806cbbfd
2019-02-05 14:45:51 -08:00
TreeHugger Robot e8a2617efe Merge "Disable double-tap accessibility action for a widget cell" into ub-launcher3-master 2019-02-05 21:17:10 +00:00
vadimt f87046619c Disable double-tap accessibility action for a widget cell
Before this CL, the cell had 3 announced actions:
1. Add to home screen (a custom action)
2. "Double-tap to activate" - performing this action instructed the user
to use action #3
3. "Double-tap and hold for long press" - starts dragging the widget.

Bug: 116018969
Test: Manual
Change-Id: Ie2378ccb13d182a2558f70f7250055bf86c5e5f6
2019-02-05 13:02:29 -08:00
Tony f98121939d Allow for continuous scrolling to previous tasks
Starting a new touch interaction on the nav bar while going to a new task
cancels that animation to allow for continuous scrolling.

Specifically, the new interaction still creates a new touch consumer and
WindowTransformSwipeHandler, but reuses the previous RecentsAnimationState
in order to defer finishing it.

Bug: 111926330
Change-Id: Ia4f5f8dbb2b3ae70791676f1e3e5ce84deb22f74
2019-02-05 15:47:13 -05:00