Commit Graph
49925 Commits
Author SHA1 Message Date
Jayaprakash Sundararaj 80fdde5137 Merge "Refactor FolderNameInfos." into ub-launcher3-rvc-dev am: d2260a07b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11931809

Change-Id: I5a499ade1258dc07784af7eb2f29f18b026395bb
2020-06-20 07:10:41 +00:00
Jayaprakash Sundararaj d2260a07b8 Merge "Refactor FolderNameInfos." into ub-launcher3-rvc-dev 2020-06-20 06:59:45 +00:00
Hyunyoung Song 33b5ea1555 Merge "Remove ConcurrentModificationException for snapshot logging Bug: 159282737" into ub-launcher3-rvc-dev am: ac3f71269e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11929252

Change-Id: Id2f4416a7bddb16abace23be506ba50e9c7ab85c
2020-06-20 06:29:06 +00:00
TreeHugger Robot 048740e492 Merge "Workaround for activity manager crashing when trying to start an app It flakes when one of the tests starts calculator while there zero activities in the system." into ub-launcher3-rvc-dev am: d4b946dbe3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11940019

Change-Id: I7a217db5fb87d8099cdb9c21d4fab5d5e3dc26e7
2020-06-20 06:28:59 +00:00
Hyunyoung Song ac3f71269e Merge "Remove ConcurrentModificationException for snapshot logging Bug: 159282737" into ub-launcher3-rvc-dev 2020-06-20 06:27:01 +00:00
TreeHugger Robot d4b946dbe3 Merge "Workaround for activity manager crashing when trying to start an app It flakes when one of the tests starts calculator while there zero activities in the system." into ub-launcher3-rvc-dev 2020-06-20 06:13:48 +00:00
Jayaprakash Sundararaj 1d96ba03ab Refactor FolderNameInfos.
Bug: 159508969

Change-Id: I984e7a4fc321392d06157c705392c1ba5672f348
2020-06-19 23:12:22 -07:00
Samuel Fufa d5ffdd057c Merge "Allow shortcut predictions in hybrid hotseat" into ub-launcher3-rvc-dev am: 9024c85742
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11940156

Change-Id: I9257b6aca9b1b496bb074c0cf8398087c24abdbb
2020-06-20 05:07:54 +00:00
Samuel Fufa 9024c85742 Merge "Allow shortcut predictions in hybrid hotseat" into ub-launcher3-rvc-dev 2020-06-20 04:57:02 +00:00
TreeHugger Robot efedd5f6ab Merge "Add Elevation to work switch" into ub-launcher3-rvc-dev am: 08e1cde5e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11923400

Change-Id: Ie850cf4e3d9e2bc746bcc5715445e5ebce73a88a
2020-06-20 04:20:20 +00:00
thiruram b6e9a13d0d Log LAUNCHER_FOLDER_AUTO_LABELING_SKIPPED events. am: 8bcb48cc1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11938960

Change-Id: I3edbb34c3162e452ef002c2495d4aeebc1201ac3
2020-06-20 04:20:09 +00:00
TreeHugger Robot 08e1cde5e1 Merge "Add Elevation to work switch" into ub-launcher3-rvc-dev 2020-06-20 04:12:57 +00:00
android-build-team Robot f5732b7417 Snap for 6611069 from 630098b8e6 to mainline-release
Change-Id: I9c4dccae0527f0a85412ce4e309c16ed1da73d71
2020-06-20 03:10:47 +00:00
android-build-team Robot 2f8795df5d Snap for 6609949 from 375cf35327 to sc-release
Change-Id: Ia38c9622aba89055fb22430a06689d35e494e031
2020-06-20 02:08:35 +00:00
Samuel Fufa 2d8e882d2e Allow shortcut predictions in hybrid hotseat
Screenshot: https://screenshot.googleplex.com/TckWKGYWwHW

Note: Shortcut predictions will not be cached.

Bug: 159500320
Test: Manual
Change-Id: Id8ec81544bddb8be87a5e748fd9f9e93aaaf8fea
2020-06-19 18:50:22 -07:00
vadimt 8914c51660 Workaround for activity manager crashing when trying to start an app
It flakes when one of the tests starts calculator while there zero
activities in the system.

Bug: 143488140
Change-Id: Id9d350f0de8a83eb50e35e9efa4226b8d45ca641
2020-06-20 01:12:50 +00:00
android-build-team Robot e5586ca0ad Snap for 6610691 from c3f13e01a3 to rvc-release
Change-Id: I05973e9a6e46f9807ca838ea2f2bc126f6aa9df9
2020-06-20 01:06:06 +00:00
thiruram 8bcb48cc1b Log LAUNCHER_FOLDER_AUTO_LABELING_SKIPPED events.
These events will help to understanding recall reduction is due to data coverage vs label coverage.

Bug: 159495871
Change-Id: Ia5e2cbab86f5f2072f9674fbd6abcdbc049929ee
2020-06-19 17:58:55 -07:00
thiruram 7fa1c8a25d Fixes folder logging. am: b53764bd4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11902346

Change-Id: Ib9b34794311a41e0b54c19d1c0097f6d36680917
2020-06-20 00:56:17 +00:00
Sreyas ae74a618bd Deleting old cache images before saving new ones.
Change-Id: I5947fe43b0e1bfac35247bf64f08e49560d58cac
2020-06-19 17:28:19 -07:00
thiruram b53764bd4b Fixes folder logging.
Only LAUNCHER_FOLDER_LABEL_UPDATED events will have FromState, ToState
and FolderLabelInfo. Other folder events such as OPEN, DRAG etc will have
basic fields only populated.

Sample Log: https://paste.googleplex.com/5468394805526528
Screencast: http://rcll/hSUQjtQXfQM5i9DjjAQTf2/Zn5FeiVDONaQj0mK1JNjg

Bug: 159164315
Change-Id: I903fc7b62bcee748aa3ef695453be3e14d388712
2020-06-19 17:06:46 -07:00
TreeHugger Robot 38126202d8 Merge "Fix RecentsView scroll linking" into ub-launcher3-rvc-dev am: 72ac78189f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11936452

Change-Id: I5f9e7ef48d82c8ecd4f496e8b7c960b7dd232f56
2020-06-19 23:37:45 +00:00
TreeHugger Robot 108c7b65ed Merge "Fixing fallback recents not getting proper insets on configuration change" into ub-launcher3-rvc-dev am: f9ae1a838a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11934077

Change-Id: I11c0b6c85c66551b9a425eb0d9ce232e6a720392
2020-06-19 23:37:39 +00:00
Jon Miranda 36d1015997 Add depth animation when multiwindow mode changes.
This is a workaround until we can support app transitions when starting
an activity in mw mode.

Bug: 158613217
Change-Id: I843d6669722c543728ab532e1c4fbd4643f6f135
2020-06-19 16:36:57 -07:00
TreeHugger Robot 72ac78189f Merge "Fix RecentsView scroll linking" into ub-launcher3-rvc-dev 2020-06-19 23:28:55 +00:00
TreeHugger Robot f9ae1a838a Merge "Fixing fallback recents not getting proper insets on configuration change" into ub-launcher3-rvc-dev 2020-06-19 23:22:54 +00:00
Hyunyoung Song 5eae3c0a0a Remove ConcurrentModificationException for snapshot logging
Bug: 159282737

Change-Id: I37edcf6aa11272b488a0633716567c48e56e5433
2020-06-19 16:12:43 -07:00
Tony Wickham 94d1b4be17 Fix RecentsView scroll linking
- Reverts change from ag/11900651 that deferred setting
  mRecentsViewScrollLinked = true
- Instead, setCurrentPage(mCurrentPage) after updating layout rotation
  to ensure we recompute page scrolls before using them

Test:
- Auto rotate on, home rotation off, open Calculator in landscape,
  swipe up slowly and ensure it never turns invisible
- Quick switch from Calculator to Clock, start swiping directly up
  immediately after settling on Clock, ensure Calculator window
  remains at its scroll position to the side (b/159461591)

Fixes: 159461591
Change-Id: Iab92963cc6c33df42b77f5ccfa3932382e8f869a
2020-06-19 17:42:18 -05:00
Hyunyoung Song 66e486e38a Merge "Fix a potential concurrency issue for loading CDB file Bug: 158919530" into ub-launcher3-rvc-dev am: bb8257344c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11926310

Change-Id: Ie33b49a54842f2edc05176ff47a4360c85ae7bf0
2020-06-19 22:01:40 +00:00
TreeHugger Robot 3b5f079711 Merge "Wrap shortcuts to second line" into ub-launcher3-rvc-dev am: 027d5a0e8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917348

Change-Id: I7175a6a73aa0070d7d91981b07531f4505f460d5
2020-06-19 22:01:26 +00:00
Hyunyoung Song bb8257344c Merge "Fix a potential concurrency issue for loading CDB file Bug: 158919530" into ub-launcher3-rvc-dev 2020-06-19 21:48:30 +00:00
TreeHugger Robot 027d5a0e8f Merge "Wrap shortcuts to second line" into ub-launcher3-rvc-dev 2020-06-19 21:45:46 +00:00
Samuel Fufa 56b35b9d0a Send app launch events from TaskSwitcher
Sends AppTargetEvent with action launch and container CONTAINER_OVERVIEW to AppPredictor when user launches app form recents.

Bug: 155996363
Test: Manual
Change-Id: I3eb38f5737ecaeb07e59db460e8d809416132825
2020-06-19 14:14:52 -07:00
Samuel Fufa 980767a06b Wrap shortcuts to second line
Some system shortcuts are mostly truncated in other localizations. This fixes the issue allowing shortcuts to extend into a second line.

Screenshot:
https://screenshot.googleplex.com/CuTHVNn6PoC
https://screenshot.googleplex.com/yhwuLmbG7UX

Bug: 158182711
Change-Id: Ie5c2943be524c499c4444a9a54217f207a4684fd
2020-06-19 14:11:36 -07:00
TreeHugger Robot ebf070bcf1 Merge "Set Disabled icon alpha to .54" into ub-launcher3-rvc-dev am: 9627bc466a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11935159

Change-Id: I02c6042e391ebfa863731ac44c96131d49c8b0d3
2020-06-19 20:46:24 +00:00
TreeHugger Robot 9627bc466a Merge "Set Disabled icon alpha to .54" into ub-launcher3-rvc-dev 2020-06-19 20:38:38 +00:00
Samuel Fufa e17de7cd48 Set Disabled icon alpha to .54
screenshot: https://screenshot.googleplex.com/hMi27AKtN5z

Keeping style setup as is for ultra power saver mode.

Bug: 158904552
Change-Id: I508c661195d8ca4821a13dc2a0f26584bea0b172
2020-06-19 12:47:54 -07:00
Tony Wickham fb8d090c68 Merge "Remove progress != mFullscreenProgress optimization" into ub-launcher3-rvc-dev am: e19b065c7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11932417

Change-Id: I41422ebccc64c9178f33598f609da228db6515dd
2020-06-19 18:54:23 +00:00
Zak Cohen 1f3a4b6530 Image actions - fix uri permissions. am: aef8b86b4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11933718

Change-Id: I6ca5eff182795fe4c60032da5539d9d6d0428b21
2020-06-19 18:54:12 +00:00
Tony Wickham e19b065c7c Merge "Remove progress != mFullscreenProgress optimization" into ub-launcher3-rvc-dev 2020-06-19 18:45:44 +00:00
Sunny Goyal 9d89f75ce4 Fixing fallback recents not getting proper insets on configuration change
> Using common code for Launcher and recents for insets dispatching
> Fixing recents auto closing when there is no running task

Bug: 158750568
Bug: 159133601
Change-Id: Iee25c603a77a1ac546ada1840f3afaf5797b8802
2020-06-19 11:41:53 -07:00
Zak Cohen aef8b86b4a Image actions - fix uri permissions.
Feedback wasn't working, also Share wasn't showing its preview.

Bug: 159122067
Test: built and run locally
Change-Id: Iccea012a8fc0009a6a980f6233f42c4e7619f4ec
2020-06-19 18:02:44 +00:00
Tony Wickham 6a8ba169f2 Remove progress != mFullscreenProgress optimization
Sometimes other methods modify things like icon scale that setting
the fullscreen progress should override.

Test: open Calculator, open Clock, quick switch to Calculator and
ensure its task icon is not showing

Bug: 157105795
Change-Id: Iaed3e42f540fdff3648e9db7e6d7dc0b0d0a75df
2020-06-19 12:20:38 -05:00
Vadim Tryshev eee5fbe313 Merge "Removing debug requests from non-debug test info handlers" into ub-launcher3-rvc-dev am: 84aaecca64
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11827372

Change-Id: Iee1cd7c886309c32d6811ac949239350ea72d82e
2020-06-19 16:51:52 +00:00
Vadim Tryshev 84aaecca64 Merge "Removing debug requests from non-debug test info handlers" into ub-launcher3-rvc-dev 2020-06-19 16:37:41 +00:00
Bill Lin 375cf35327 Merge "Update state and touch region after one handed overlay changed" 2020-06-19 09:10:04 +00:00
Hyunyoung Song d98d5ebedc Fix a potential concurrency issue for loading CDB file
Bug: 158919530

Change-Id: I00ddbaeebaed3aa669948cde7fbac0cf4ad86301
2020-06-19 02:09:15 -07:00
Samuel Fufa ace056cd59 Create hotseat predictor onCreate am: c3f13e01a3 am: dad117a2c4 am: de575bbb87 am: 66cbaa3bf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536

Change-Id: Ia4aae4619fd407606f782ec039c96a16f09871cc
2020-06-19 08:22:15 +00:00
Samuel Fufa 700154b800 Create hotseat predictor onCreate am: c3f13e01a3 am: f154110338 am: de69c15e9c am: 16e3634b93
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536

Change-Id: Ib4d105f5cce016fd761298f53449a3ef9e3462c7
2020-06-19 08:22:10 +00:00
Samuel Fufa cb2a99d53a Create hotseat predictor onCreate am: c3f13e01a3 am: dad117a2c4 am: b099c497e3 am: a5e181f635
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11917536

Change-Id: I6a1e7da3ba908e16ae2e0cc41824e847cc004017
2020-06-19 08:22:02 +00:00