Commit Graph
53916 Commits
Author SHA1 Message Date
Tony Wickham c5d168da82 In 2 button mode, animate to HINT_STATE instead of OVERVIEW directly
When reaching HINT_STATE_TWO_BUTTON, we goToState(OVERVIEW) with a
haptic, to keep the same feeling as before.

Test: Swipe up from home on nav bar, ensure it goes to overview
Bug: 175137718
Change-Id: Ib17d4a5e9e33b8bf9b074f926faa6d0e2fb487fa
2021-03-29 11:58:50 -07:00
Vadim Tryshev 75270c6243 Merge "Showing DWB remaining time for work profile apps" 2021-03-29 18:56:35 +00:00
Alex Johnston 8786016e85 Block recent work profile apps content capture
Stop data exposure of work profile by blocking
content capture of recents apps when the work
profile is locked.

Manual testing steps
* Set up work profile
* Set personal and work pattern
* Open work app, enter work pattern and
  verify content capture is possible
* Lock device
* Go to Recents and select already opened
  work app. Verify content capture is not
  possible until work pattern is entered.

Bug: 168802517
Test: manual testing
Change-Id: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd
Merged-In: I3e6ba1d8645335785e8e26cdc895ea9c0017a0fd
2021-03-29 18:12:00 +00:00
Alex Chau 41a842449d Don't transpose hotseat on sw600
Bug: 178385459
Test: Manual
Change-Id: I5805b0ccb05b97b931ab99a31c31029f7066daca
2021-03-29 13:01:28 +01:00
Hyunyoung Song c07e3b3c28 Remove AA+ decorator logic from aosp code
Bug: 179495850
Test: manual

Change-Id: I7e029e4970f45a0f7c410533f85335a95e4e448c
2021-03-29 00:29:09 -07:00
Zak Cohen 733efa1bcd Overview - extract AssistContentRequester logic for reuse.
Extract the logic for fetching AssistContent into a common reusable place.

Bug: 179705864
Test: Local build of main launcher
Change-Id: Ife37a393d93f899fa1ae460bdcf0cadff6468b04
2021-03-27 14:53:34 -07:00
android-build-team Robot 992d07c54b Snap for 7239324 from 480d3bee29 to tm-release
Change-Id: Ib1d4511c4bf84f9c09d2cf1b6395aaa8bc3b4f3d
2021-03-27 05:07:41 +00:00
android-build-team Robot 850ef6f805 Snap for 7239224 from 78f5a8c6ab to sc-v2-release
Change-Id: I416d2f7d2a910e11d57df6b874ab19b2e9dec59d
2021-03-27 03:08:43 +00:00
android-build-team Robot b876c99b05 Snap for 7239224 from 78f5a8c6ab to sc-release
Change-Id: I13b992f0a263a3677b7eb11fd62ebde87477b6ae
2021-03-27 03:07:56 +00:00
Tracy Zhou 8718a09149 Merge "Fix failed test in order to enable Live Tile (in the next change)" into sc-dev am: 78f5a8c6ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13966823

Change-Id: I98793887a0e61098a0f066f5267ca7c89ca4120e
2021-03-26 19:23:22 +00:00
Tracy Zhou 480d3bee29 Merge "Fix failed test in order to enable Live Tile (in the next change)" into sc-dev am: 78f5a8c6ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13966823

Change-Id: Ia16d2ec0aed14238887541a9d4033795b3006afb
2021-03-26 19:22:38 +00:00
Tracy Zhou 0dd46fa242 Enable Live Tile
Test: presubmit
Fixes: 169694902
Change-Id: Id5cb0dae39a492de6ec54ef843c7492d1626e4db
2021-03-26 18:54:53 +00:00
Tracy Zhou 78f5a8c6ab Merge "Fix failed test in order to enable Live Tile (in the next change)" into sc-dev 2021-03-26 18:54:31 +00:00
Sunny Goyal 651a4db9b0 Merge "Moving some common functionality to IconLoaderLib" into sc-dev am: 7cb9327c28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13988606

Change-Id: I2d6b8df755c047b8ebf41c4e51bfa8ba754cd494
2021-03-26 17:15:49 +00:00
Sunny Goyal 4214f9fad8 Merge "Moving some common functionality to IconLoaderLib" into sc-dev am: 7cb9327c28
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13988606

Change-Id: Id26a7bd85ae05140b11a5fb660ee4922375027fd
2021-03-26 17:09:04 +00:00
Sunny Goyal 7cb9327c28 Merge "Moving some common functionality to IconLoaderLib" into sc-dev 2021-03-26 16:42:04 +00:00
android-build-team Robot ad69f6a0e6 Snap for 7237786 from 489dce9068 to tm-release
Change-Id: Ia08b6e0954b92066d5020e821303c3c5334710a4
2021-03-26 03:07:12 +00:00
Tracy Zhou 9d706b1ada Fix failed test in order to enable Live Tile (in the next change)
Live tile changes certain assumptions we have for tests, for example
- Launcher will not be in the resumed state after swiping up to Overview

Also, disable live tile for 3rd party launcher for now

Test: presubmit
Fixes: 169694902
Change-Id: Ifd466db0354f59290c4f66a0a2ad4c82f1169f29
2021-03-25 19:44:36 -07:00
android-build-team Robot cd3f601d90 Snap for 7236705 from 0a74a35a41 to sc-v2-release
Change-Id: Ic8607f7b47f5e8c84474793cecf2fd31b83b569b
2021-03-26 01:07:55 +00:00
android-build-team Robot 6b963da95f Snap for 7236705 from 0a74a35a41 to sc-release
Change-Id: Ic86f9fc1c00307ffb04c3ecabe394dc3944e473b
2021-03-26 01:07:32 +00:00
Steven Ng 489dce9068 Merge "Fix AddWidgetTest & AddWidgetConfigTest" into sc-dev am: 8c792936fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989191

Change-Id: I3bf49bb1d2eeb2a8e61781912c100de6ab21445c
2021-03-25 23:38:47 +00:00
Steven Ng 4df0fc1afd Merge "Fix AddWidgetTest & AddWidgetConfigTest" into sc-dev am: 8c792936fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989191

Change-Id: If591238d23610b07e57fcdbeaa541a5fead1a808
2021-03-25 23:38:46 +00:00
Steven Ng 8c792936fe Merge "Fix AddWidgetTest & AddWidgetConfigTest" into sc-dev 2021-03-25 23:14:24 +00:00
Samuel Fufa 7122bd1577 Disable work profile tests
Bug: 182844465
Test: presubmit
Change-Id: Ifc7baf9dffc6b8b453acf23dfe74f4cc9cd5ba4e
2021-03-25 18:07:58 -05:00
Tony Wickham b9bbe994eb Fix Home->Overview not being logged in 0 button mode
At some point we made a change to clearState() from onDragEnd(),
which means the detector is in IDLE state instead of SETTLING. As
long as we aren't still in DRAGGING state, we should log.

Test: wwlogcat
Change-Id: I0f1098bd09cd1296b06f8cb3ebe400c2a25156ca
2021-03-25 15:11:57 -07:00
Schneider Victor-tulias 2ccb31b9b6 Merge "Add strings for gesture navigation tutorial." into sc-dev am: 29d7648813
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13988047

Change-Id: Iea18e237f0f7312731652aa0e17a6f4c4f77f9db
2021-03-25 21:39:14 +00:00
Schneider Victor-tulias ca464c2a93 Merge "Add strings for gesture navigation tutorial." into sc-dev am: 29d7648813
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13988047

Change-Id: Ie1a33013d65dbb7b21a20bbdb4a362751fdbc0d7
2021-03-25 21:38:39 +00:00
Steven Ng 14eab916cb Merge "Filter out potential null widget item from recommended widgets" into sc-dev am: fe158fab89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989192

Change-Id: I23cdcb250747da181607bebe151b31b325764141
2021-03-25 21:37:45 +00:00
Steven Ng e1ccc5c273 Merge "Filter out potential null widget item from recommended widgets" into sc-dev am: fe158fab89
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989192

Change-Id: I9c5a139fc53c736df27d361dcbc4aea51c0b8c74
2021-03-25 21:35:51 +00:00
Schneider Victor-tulias 29d7648813 Merge "Add strings for gesture navigation tutorial." into sc-dev 2021-03-25 21:07:56 +00:00
Steven Ng 26a9df6046 Fix AddWidgetTest & AddWidgetConfigTest
Simplify the scrolling by a scroll down a smaller fixed distance. This
way we don't need to scroll back-n-forth in order to handle the
overlapping of the search bar and the targeted widget.

Test: run AddWidgetTest & AddWidgetConfigTest

Bug: 183616605
Change-Id: Icc72f4ba6c61bdb95ab5eaf22600407d59d14eba
2021-03-25 20:57:13 +00:00
Steven Ng fe158fab89 Merge "Filter out potential null widget item from recommended widgets" into sc-dev 2021-03-25 20:54:38 +00:00
TreeHugger Robot d52247907f Merge "Slightly improve Taskbar animations to launcher" into sc-dev am: 0a74a35a41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973516

Change-Id: I7482b9d5e3939c48d691e0d97c9c7de98f988e7b
2021-03-25 19:00:27 +00:00
TreeHugger Robot cfd17e2a23 Merge "Slightly improve Taskbar animations to launcher" into sc-dev am: 0a74a35a41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973516

Change-Id: I6ef300f685dd72219732f8f90389c5a214995a7d
2021-03-25 18:59:47 +00:00
Hongwei Wang 00c966a446 Pass the whole auto pip transaction to recents animation
Bug: 179720719
Test: manually using the ApiDemos app
Change-Id: I921c97c8bbba66dc5a674d1d67cff2e528e56154
2021-03-25 11:48:21 -07:00
TreeHugger Robot 0a74a35a41 Merge "Slightly improve Taskbar animations to launcher" into sc-dev 2021-03-25 18:36:37 +00:00
Pat Manning 5921dd6510 Shift only tasks within current grid row upon task dismissal.
Test: manual
Bug: 182579190
Change-Id: I656a743f41f5139ab5673862e27b48076cfc4313
2021-03-25 18:33:09 +00:00
Schneider Victor-tulias 6062b851be Add strings for gesture navigation tutorial.
Added string resources needed for the gesture navigation tutorial.

Test: none.

Bug: 169687177
Change-Id: I75b863141954f6459693dfb6f16ed0d1fff9920d
2021-03-25 11:09:57 -07:00
Tracy Zhou b0a7b59d95 Merge "Fix a memory leak" into sc-dev am: 29c1e8437e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961425

Change-Id: Ic6b0f5171b20f63fddfa2d37a7f08b48eaf9ce00
2021-03-25 17:19:45 +00:00
Rajeev Kumar cf6215c5b8 Merge "Add OWNERS to Launcher3/go" am: 278edf2938 am: dc71c0178a am: ee9a99a6a8 am: f23ea3b067
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1653167

Change-Id: I4ba3a9e173c5213c5960313f5b0d738d9e604bc5
2021-03-25 17:19:25 +00:00
Tracy Zhou c7e8d9dbdf Merge "Fix a memory leak" into sc-dev am: 29c1e8437e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961425

Change-Id: Ibe9df851507b75b835ac9cd37d5352e6443ea767
2021-03-25 17:18:55 +00:00
Rajeev Kumar c624ec0944 Merge "Add OWNERS to Launcher3/go" am: 278edf2938 am: dc71c0178a am: ee9a99a6a8 am: f23ea3b067
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1653167

Change-Id: Id8aa0c7e14a786933bcf985d5858694d63775a86
2021-03-25 17:18:37 +00:00
Pierre Barbier de Reuille 6599a49370 Merge changes Ib7ce422d,I977e7750 into sc-dev am: 119b7a6a12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989189

Change-Id: I9bf8bc3228af1aa3ef07e2fa0ea2401bc662e10c
2021-03-25 17:18:26 +00:00
Pierre Barbier de Reuille c350e18724 Merge changes Ib7ce422d,I977e7750 into sc-dev am: 119b7a6a12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989189

Change-Id: Ibac9958e6e3340d86c9262624be18a25e1cc77e1
2021-03-25 17:17:27 +00:00
Sunny Goyal 572aca4ce2 Moving some common functionality to IconLoaderLib
Bug: 183641907
Test: Manual
Change-Id: Icfc7ebb140e4e1678b0715beee2e0e513e707b9e
2021-03-25 10:06:53 -07:00
Steven Ng 074f83205d Filter out potential null widget item from recommended widgets
There is a likely a race condition which the recommended widgets
contain widget that have not been added to mAllWidgets. Instead
of introducing a lock mechanism, let's simply filter null widgets.

Test: manual

Bug: 183619699
Change-Id: Ia82778b8ac8c42265bdf6838e059f81022a0d4ef
2021-03-25 17:01:13 +00:00
Tracy Zhou 29c1e8437e Merge "Fix a memory leak" into sc-dev 2021-03-25 16:48:46 +00:00
Rajeev Kumar f23ea3b067 Merge "Add OWNERS to Launcher3/go" am: 278edf2938 am: dc71c0178a am: ee9a99a6a8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1653167

Change-Id: I227d47f2ba807e4b5de60fba8dbad60f279bdba4
2021-03-25 16:30:13 +00:00
Pierre Barbier de Reuille 119b7a6a12 Merge changes Ib7ce422d,I977e7750 into sc-dev
* changes:
  Added rounded corner to bitmap Widget Preview
  Correct RoundedCorner enforcements.
2021-03-25 16:25:18 +00:00
Rajeev Kumar ee9a99a6a8 Merge "Add OWNERS to Launcher3/go" am: 278edf2938 am: dc71c0178a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1653167

Change-Id: Id3e60d2015fc099461d8ac18767bb909b75d3165
2021-03-25 16:03:04 +00:00