Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot c288c68f6e Merge "System apps must target API 28 or higher" into ub-launcher3-master 2019-01-04 01:11:44 +00:00
TreeHugger Robot e0c927a50b Merge "Migrating some runnables to lambda operations" into ub-launcher3-master 2019-01-04 00:30:34 +00:00
TreeHugger Robot 5115de8415 Merge "Do not hold synchronization locks if tracing is not enabled" into ub-launcher3-master 2019-01-04 00:27:03 +00:00
TreeHugger Robot 4225924086 Merge "Keeping task list stable across multiple task switches" into ub-launcher3-master 2019-01-04 00:07:44 +00:00
Sunny Goyal 849d7e6c41 Keeping task list stable across multiple task switches
Change-Id: I3b334a8c8fb13ad54bc19e782cae016fe3c78ff6
2019-01-03 15:50:05 -08:00
TreeHugger Robot 9b0a75b742 Merge "Fix issues with recents with floating nav bar" into ub-launcher3-master 2019-01-03 23:39:44 +00:00
Sunny Goyal 2f979d2639 Fixing task cache was incorrectly set when partial list was requested
Change-Id: Ic3ef49930e38b6a66a2871baada122f81865644f
2019-01-03 15:15:58 -08:00
Tony afd8392b21 Fix issues with recents with floating nav bar
- Set padding based on insets (same as noraml nav) rather than
  available height (more than normal nav)
- Fill whole screen for quick switch

Bug: 111699315
Change-Id: Ia1392cc0b1ed3600635dbce76d8b945f0337d7cf
2019-01-03 17:15:12 -06:00
Hyunyoung Song ddcecfa634 System apps must target API 28 or higher
Bug: 120997004
Change-Id: I998a443a4327c47cbab8e4bc4843be1693f05d8d
2019-01-03 12:57:33 -08:00
Sunny Goyal 161a214ede Adding support for backing up favorites table
Favorites table is copied as a separate table name during the first grid migration.
On subsequent migrations this backup table is used if it exists, otherwise new
backup is created. The backup table is also removed if there is any insert or
delete operation on the db (outside of the migration operation itself).

Bug: 111850268
Bug: 121048571
Change-Id: I6f02f4a355c369ee99d89430971be258f7516f6e
2019-01-03 10:25:44 -08:00
TreeHugger Robot efb8b83666 Merge "Fixing use of new API available only on API 24" into ub-launcher3-master 2019-01-02 21:44:26 +00:00
Tony Wickham 47a343e27f Merge "Scale corner radius when swiping down on a task" into ub-launcher3-master 2019-01-02 21:28:15 +00:00
Sunny Goyal 6d55f66e13 Fixing use of new API available only on API 24
Change-Id: Iaf29d46925c45eeda485f882c1f59841fc3cfcea
2019-01-02 12:14:03 -08:00
TreeHugger Robot 8e9342f40b Merge "Set colorPrimaryDark to the value assigned in P release" into ub-launcher3-master 2019-01-02 19:36:27 +00:00
Hyunyoung Song 211b2fe3b0 Set colorPrimaryDark to the value assigned in P release
previous value: google_grey_200

Bug: 117532945
Change-Id: Ia1d0a36920e6eff2d7022521123983c947804b91
2019-01-02 11:24:05 -08:00
Chilun Huang aa8ed1f37d Merge "Remove unused string" into ub-launcher3-master 2019-01-02 05:18:56 +00:00
android-build-team Robot 3e540f359a Snap for 5204403 from 30ba96db30 to qt-release
Change-Id: I7cbcd46a7d1e8bef6c29569d9c2624272b8d0e22
2018-12-30 04:03:39 +00:00
Tony c2a137630a Scale corner radius when swiping down on a task
Now the corner radius matches the window when the task fills the screen.

Change-Id: Ic149f39053ac1e4cfa1304d4dfd3ed0688b92410
2018-12-27 20:25:01 -08:00
Sunny Goyal 9dbdd72498 Migrating some runnables to lambda operations
Change-Id: Ied7b6ca14594c72bc671127baf4f84fdcdb35b93
2018-12-27 13:29:34 -08:00
Sunny Goyal b2061daa56 Remove widgets which have invalid size in DB
Bug: 120638555
Change-Id: I23746af44e4390da7b09869e181919e7eac26e58
2018-12-27 12:57:05 -08:00
TreeHugger Robot bf588b0a8c Merge "Removing dummy activity added for preview development" into ub-launcher3-master 2018-12-27 18:54:38 +00:00
Tony 30ba96db30 Update Launcher3 Go device profile format
Bug: 121044483
Change-Id: I1aa18a8f4a8969e1349c0930e06413b6a2af4ed1
(cherry picked from commit 1e0e558cbf)
2018-12-27 18:48:53 +00:00
Bill Yi 6d622b7c96 Import translations. DO NOT MERGE
Change-Id: I6213e19ec4099e89ab27cc0d114e301d2785f9fd
Auto-generated-cl: translation import
2018-12-27 09:55:53 -08:00
Sunny Goyal 89cbeb14b1 Do not hold synchronization locks if tracing is not enabled
Change-Id: Ia17e2269d088da472dce2e248fc9f85877be5d77
2018-12-27 09:49:18 -08:00
Sunny Goyal 3219c4f3c8 Removing dummy activity added for preview development
Bug: 121414492
Change-Id: I8ae4643f871af259dab04a5b37acfb49d59d6261
2018-12-27 08:16:10 -08:00
TreeHugger Robot 3446fb65c4 Merge "Cleanup strings for iconoverride" into ub-launcher3-master 2018-12-27 06:30:39 +00:00
Hyunyoung Song 339a311d99 Cleanup strings for iconoverride
Bug: 120736782
Change-Id: I9745fe999cec3c4e1f442decb482ed916d0b871a
2018-12-26 20:59:57 -08:00
Chilun 3cd5c8bd2f Remove unused string
String "app_name" is not used anywhere, remove it.

Bug: 121362965
Test: Manual
Change-Id: Ib534ee4da78a7be33cec99f70a8593e9cb5a854c
2018-12-24 04:02:12 +00:00
android-build-team Robot cc162e9e61 Snap for 5198681 from 457c20ebc1 to qt-release
Change-Id: I44b521ee115d807ec856d77078aa0ad5535786cc
2018-12-23 04:06:00 +00:00
Tony Wickham 79e70c3a82 Merge changes Ia9df40ae,Ieeaa5b66 into ub-launcher3-master
* changes:
  Move params for ClipAnimationHelper#applyTransform into TransformParams
  TaskView has fullscreen progress instead of boolean
2018-12-22 00:15:09 +00:00
Tony Wickham f5c3cddd05 Merge "When undoing a removal, always return to the page it came from" into ub-launcher3-master 2018-12-22 00:14:42 +00:00
Tony Wickham c87388c00d Move params for ClipAnimationHelper#applyTransform into TransformParams
This will help keep the code clean when we add more params, e.g. for
live tiles and for the scrolling gesture.

Bug: 111699315
Change-Id: Ia9df40ae85fe29911b957bd9b06b8c8a31f3be39
2018-12-22 00:04:29 +00:00
Tony Wickham 36b2dba1de TaskView has fullscreen progress instead of boolean
This way we can update the insets of the adjacent task throughout
the swipe up from an app.

Bug: 111699315
Change-Id: Ieeaa5b6667e44f82e7e097acb9f0552609b15809
2018-12-21 15:49:45 -08:00
Bill Yi 7332cddb39 Import translations. DO NOT MERGE
Change-Id: Ifac82f65480a8f5405b7250297945fb296a1fe5b
Auto-generated-cl: translation import
2018-12-21 15:33:28 -08:00
Tony f80e893163 When undoing a removal, always return to the page it came from
We were already returning to the current page, but this wasn't
always right, e.g. when removing the last item on the last page.
So now we mark the page the item was removed from, and bind that
page first when undo is clicked.

This also addresses an issue where we incorrectly returned to the
first page if currentPage = INVALID_RESTORE_PAGE, which happens if
there are no items on the first page.

Bug: 118846684
Change-Id: I4ec1f64b24ba1cc308ce08bfb3111b5981fae99b
2018-12-21 12:21:53 -08:00
Hyunyoung Song c641bd107c Provide more context for "Remove" and "Uninstall" strings for TC
Bug: 120255489
Change-Id: Iec1d93e1aab0bae38d95e9f4e2c87e9328f04da3
2018-12-21 11:01:27 -08:00
Tony 1e0e558cbf Update Launcher3 Go device profile format
Bug: 121044483
Change-Id: I1aa18a8f4a8969e1349c0930e06413b6a2af4ed1
2018-12-20 11:29:24 -08:00
Jorim Jaggi 457c20ebc1 SyncRtTransactionApplier -> SyncRtTransactionApplierCompat
Bug: 118118435
Change-Id: I37bba45db79890f5d7ae6c1d1d63422a89230b35
2018-12-20 14:38:30 +01:00
Hyunyoung Song 09b404cc02 Merging ub-launcher3-master, build 5192449
Test: Manual
Change-Id: I66ac8dfbc118536b2f0d5c9d096d474290e37a56
2018-12-19 18:01:39 -08:00
Hyunyoung Song a7a9583bb8 Remove IconShapeOverride
Bug: 120736782
Change-Id: Iee44f10ff2b9ec447ae74d9ad6a0aa3668c401d6
2018-12-19 17:16:56 -08:00
TreeHugger Robot afe57dd0ef Merge "Add a secondary launcher activity (1/2)" into ub-launcher3-master 2018-12-20 00:28:57 +00:00
android-build-team Robot 3b9e93237d Snap for 5189750 from 727813f87b to qt-release
Change-Id: I955cd1c1c8e3e73b742bddc50ccdb9697045e083
2018-12-19 04:05:53 +00:00
Dave Mankoff 727813f87b Track when plugins are disabled due to crashes.
Bug: 120901833
Test: atest SystemUITests
Change-Id: I243d79290a5162371dd46abd0115f73deda62b3e
2018-12-18 12:46:46 -05:00
vadimt 943b28464d Test swiping up from a killed launcher
Bug: 121164587
Test: StartLauncherViaGestureTests
Change-Id: I01c5bfc0aa23418bad7d44b8d9cf8b95cbe0b320
2018-12-17 18:09:07 -08:00
Vadim Tryshev 57e98b8006 Merge "Adding tests that would reliably reproduce shifted search." into ub-launcher3-master 2018-12-17 23:21:55 +00:00
vadimt 00d4255272 Adding tests that would reliably reproduce shifted search.
This would guaranteed to repro b/118441555 before it was fixed.

The test doesn't use the most powerful feature of race condition
reproducer, which is enumerating all possible event sequences.

Instead, it uses explicit repro sequences, which makes the test much
faster.

Bug: 120628042
Test: The added test
Change-Id: I89a7a9964f160a8a20ba3d9dda2f248237713014
2018-12-17 14:41:20 -08:00
Tony Wickham bf560728c1 Merge "Remove notification dot if app is disabled" into ub-launcher3-master 2018-12-14 00:10:24 +00:00
Vadim Tryshev 1ebf6f5d77 Merge "Not relying on activity manager when choosing a touch consumer." into ub-launcher3-master 2018-12-13 21:33:05 +00:00
vadimt 195d5694e4 Not relying on activity manager when choosing a touch consumer.
Activity manager can report launcher activity as running when is hasn't
yet been resumed.

Bug: 120628042
Test: TaplTests, Fallback tests, manual tests
Change-Id: I6b382b17d05066a63360acc19e094674ecca7130
2018-12-13 12:41:53 -08:00
vadimt d177aba4a2 Fixing ConcurrentModificationException
Bug: 120664974
Test: Manual
Change-Id: I67e88c6980fbabb9afb9f4946baf731852f19b19
2018-12-13 11:53:56 -08:00