Commit Graph
28165 Commits
Author SHA1 Message Date
Shibin George e723daa0d0 Merge "Launcher3Go should override Launcher3QuickStep"
am: 08fa0914a4

Change-Id: I596451f4c23499fa0e21992d63ea19dfb66c6cf4
2018-09-04 10:56:58 -07:00
Treehugger Robot 08fa0914a4 Merge "Launcher3Go should override Launcher3QuickStep" 2018-09-04 17:44:33 +00:00
Shibin George 20f22d992d Launcher3Go should override Launcher3QuickStep
Now that Launcher3QuickStep is the default launcher,
Launcher3Go should override Launcher3QuickStep as well
else Go targets will have both Launcher3Go and
Launcher3QuickStep apks installed in system image.

Also, Launcher3QuickStepGo should override Launcher3QuickStep.

BUG: 113564404

Test: With this, on Go targets where Launcher3Go is
      included in PRODUCT_PACKAGES, only one apk i.e. Launcher3Go
      will be present in /system/priv-app.

Change-Id: I84d2e3c23c5acdced70d028e9518e04834577049
2018-09-04 20:43:03 +05:30
android-build-team Robot aba7e37e95 Snap for 4989423 from 19984e35fa to qt-release
Change-Id: I5c75fbc083e37dc23ac177766b6d1246d37c0df6
2018-09-02 03:04:14 +00:00
Hyunyoung Song 1985a9f747 Merge branch 'ub-launcher3-master' into launcher3merge2018-08-31
Bug: 113683301
Test: hopefully it builds
Change-Id: I6932ffab84fefeb134990a8d6bd91d114039448b
2018-08-31 14:18:13 -07:00
Hyunyoung Song f120e0a626 Link SystemUISharedLib from source if it exists
Bug: 113683301

Test: mmma -j31 packages/apps/Launcher3
Change-Id: I93671a788a322b474fd5bd4750e188faad958060
2018-08-31 13:57:30 -07:00
Hyunyoung Song 74176d6ba7 Link SysUISharedLib from source if it exists
Bug: 113128349

Test: mmma -j31 packages/apps/Launcher3
Change-Id: I4bee3d59df403db46ed848d839b09c3df4ec874b
2018-08-31 10:48:46 -07:00
Hyunyoung Song 19984e35fa Merge branch 'ub-launcher3-master' into launcher3merge
Bug: 113128349
Test: builds
Change-Id: I47253aee3fe7f15d1d633d046826c23320e9f78d
2018-08-30 23:01:15 -07:00
TreeHugger Robot 1ccaacddc1 Merge "Add undo snackbar for deleting items" into ub-launcher3-master 2018-08-31 00:16:25 +00:00
Tony Wickham 6a71a5bd77 Add undo snackbar for deleting items
- Add methods to ModelWriter to prepareForUndoDelete, then
  enqueueDeleteRunnable, followed by commitDelete or abortDelete.
- Add Snackbar floating view
- Show Undo snackbar when dropping or flinging to delete target; if the
  undo action is clicked, we abort the delete, otherwise we commit it.

Bug: 24238108
Change-Id: I9997235e1f8525cbb8b1fa2338099609e7358426
2018-08-30 16:22:25 -07:00
Vadim Tryshev 46e81de3d2 Not assuming that all accessibility events contain bundle
Bundles come from Launcher being explicitly asked a question.
When waiting for ANY event, it may contain any parcelable, so it's
incorrect to cast it to Bundle.

See this:
https://sponge.corp.google.com/target?show=FAILED&sortBy=STATUS&id=9b8d0d26-f81d-427f-8857-b8d71e012504&target=android.test.appsmoke

Bug: 110103162
Test: will watch for reducing flakes in platform tests.
Change-Id: I989cee018183140d7fd672c0a925f03441ca339c
2018-08-30 12:07:39 -07:00
android-build-team Robot 673a8cda35 Snap for 4984036 from 39ab61a514 to qt-release
Change-Id: I32ec452f3dfb375dbf9eeb65127796a1b71d2fbe
2018-08-30 03:10:56 +00:00
Vadim Tryshev a90d17b411 Removing tryGetAllApps
There were plans to use it from platform tests, but this turned to be
unnecessary.

Bug: 110103162
Test: compiling
Change-Id: I39bf3f4cff57018bec87dcb3e8dfee522121d85b
2018-08-29 11:54:49 -07:00
Vadim Tryshev 530c3cd018 Removing AllApps.getObjectDeprecated()
I was planning to use it from platform tests, but managed to avoid this.

Bug: 110103162
Test: TaplTests
Change-Id: Ic7bd6afe2097d64f8baca59b74d61e2ff7ff9c76
2018-08-29 18:33:39 +00:00
Hyunyoung Song 39ab61a514 Merge branch 'ub-launcher3-master' into launcher3merge
Test: make -j31
Bug: 113128349
Change-Id: I632b4ab33469b1ca76466da8eba1e3b5a51728d3
2018-08-28 16:52:28 -07:00
Hyunyoung Song 83fcde8d08 Merge "Create a distinction between prebuilt tapl and tapl built from source. Bug: 113128349" into ub-launcher3-master 2018-08-28 23:42:37 +00:00
Hyunyoung Song b441a7e765 Create a distinction between prebuilt tapl and tapl built from source.
Bug: 113128349

Change-Id: Ib1e09f13ee677a903f607b89d6bbb6af419677c4
2018-08-28 14:55:19 -07:00
TreeHugger Robot bb512774e1 Merge "Kicking the trim memory callback off the main thread" into ub-launcher3-master 2018-08-28 21:43:07 +00:00
TreeHugger Robot 1654c9e1c0 Merge "Reading window_animation_scale from Settings.Global" into ub-launcher3-master 2018-08-28 18:07:17 +00:00
Tony Wickham cb3f870054 Reading window_animation_scale from Settings.Global
It moved from Settings.System, so there were constant warnings in the
logs. This only affects dogfood builds.

Change-Id: Ic3c179837f78a8040579fcc6ad485f6fabe1c2a1
2018-08-27 17:36:03 -07:00
Winson Chung 8989a2263b Kicking the trim memory callback off the main thread
- It can cause a deadlock with other synchronized calls on a background
  thread that use a MainThreadInitializedObject

Bug: 112744388

Change-Id: Icbfe6fe84de41eeb19f68014905154dfca988288
2018-08-27 17:00:34 -07:00
TreeHugger Robot a42505c385 Merge "Using a placeholder icon shape instead of low-res/blurry icon" into ub-launcher3-master 2018-08-27 18:44:24 +00:00
Sunny Goyal 2b787e5bd6 Using a placeholder icon shape instead of low-res/blurry icon
Bug: 111142970
Change-Id: I867224464ae9c026f4dcb5256ef14fc39c8e751d
2018-08-27 10:43:46 -07:00
TreeHugger Robot a537578498 Merge "Fixing AOSP tests after AndroidX migration" into ub-launcher3-master 2018-08-27 17:02:19 +00:00
android-build-team Robot f72e17dfae Snap for 4977457 from 198dd6af95 to qt-release
Change-Id: Ibd13c50612cfc2f5687f42a098fc94f5255acfdb
2018-08-26 03:02:39 +00:00
Vadim Tryshev a3fd1e5bfe Fixing AOSP tests after AndroidX migration
Test: adb shell am instrument -w -r -e debug false com.android.launcher3.tests/androidx.test.runner.AndroidJUnitRunner
Change-Id: I72bf7095087b012a6eceac71ee02f2d7a5c8c51b
2018-08-24 17:48:38 -07:00
Vadim Tryshev 12daab5597 Enabling some test suites that miss from ATP
ATP requires the test size attribute, or else the test won't be run.

Test: Will see on ATP
Change-Id: If231781b5188c022e47cc40e46af933d753fa114
2018-08-24 14:04:43 -07:00
Vadim Tryshev 98afc96461 Increasing wait time to populate suggested apps
Bug: 110103162
Test: ReflectionBasicUiTest
Change-Id: Iee5d4f328bdde93e6d9c2db9869314aa3a8eb00f
2018-08-23 15:06:37 -07:00
Tobias Dubois 198dd6af95 Merge "Lint fix: IS_DEBUG_DEVICE: Implied default locale" am: 1194b218d6 am: 9955f04d5f
am: 8909909b2d

Change-Id: I96973800d02ae55270c63939cc8b890c78c967f3
2018-08-23 14:32:18 -07:00
Tobias Dubois 8909909b2d Merge "Lint fix: IS_DEBUG_DEVICE: Implied default locale" am: 1194b218d6
am: 9955f04d5f

Change-Id: I96e92da2ba3160a4d87a057535528e31515cead2
2018-08-23 14:19:12 -07:00
Tobias Dubois 9955f04d5f Merge "Lint fix: IS_DEBUG_DEVICE: Implied default locale"
am: 1194b218d6

Change-Id: I51e1d74955d14d631e90c5c70c7375ccb9d18470
2018-08-23 14:06:08 -07:00
TreeHugger Robot 25cb600f50 Merge "Lint fix: IS_DEBUG_DEVICE: Implied default locale" into ub-launcher3-master 2018-08-23 20:51:01 +00:00
Treehugger Robot 1194b218d6 Merge "Lint fix: IS_DEBUG_DEVICE: Implied default locale" 2018-08-23 20:49:59 +00:00
TreeHugger Robot fb65fd3505 Merge "Comment fix" into ub-launcher3-master 2018-08-23 20:24:52 +00:00
Tobias Dubois f50aa5b3de Merge "Use View.getHeight() instead of Canvas.getHeight() for PageIndicatorDots" am: c66f5ebd63 am: bb57b5bfab
am: 4cb241ff5e

Change-Id: I28144c7386cbfd65744d646c098b33a5cbc23a45
2018-08-23 13:11:57 -07:00
Tobias Dubois 4cb241ff5e Merge "Use View.getHeight() instead of Canvas.getHeight() for PageIndicatorDots" am: c66f5ebd63
am: bb57b5bfab

Change-Id: I7661ca288a88c23b9458b2a91bfc285b567b13f9
2018-08-23 12:14:07 -07:00
Tobias Dubois bb57b5bfab Merge "Use View.getHeight() instead of Canvas.getHeight() for PageIndicatorDots"
am: c66f5ebd63

Change-Id: I248336bdb569519ecf8b17657344bc154373f197
2018-08-23 12:08:07 -07:00
Sunny Goyal 911378c8d9 Merge "Use View.getHeight() instead of Canvas.getHeight() for PageIndicatorDots" into ub-launcher3-master 2018-08-23 18:57:06 +00:00
Treehugger Robot c66f5ebd63 Merge "Use View.getHeight() instead of Canvas.getHeight() for PageIndicatorDots" 2018-08-23 18:56:39 +00:00
Vadim Tryshev d819b8f743 Comment fix
Bug: 110103162
Test: ReflectionBasicUiTest
Change-Id: Ic9cfe925bb396e3fa0257009d5d9f53db728f9f0
2018-08-23 18:48:06 +00:00
Tobias Dubois 53da286c05 Use View.getHeight() instead of Canvas.getHeight() for PageIndicatorDots
Use View.getHeight() instead of Canvas.getHeight() to get the same height
regardless of using hardware or software accelerated drawing.

Test: manual
Change-Id: I475afef017102d7968f28a7aab8116238af3d90d
2018-08-23 10:37:58 -07:00
Tobias Dubois 9c0ad56d11 Lint fix: IS_DEBUG_DEVICE: Implied default locale
Use the ROOT locale to make sure toLowerCase has consistent behavior
regardless of the currently set language.

Test: Manual
Change-Id: Ie43f76cbc15eee0d96314e92d2acd5abb22f7077
2018-08-23 10:32:59 -07:00
Vadim Tryshev 9aca88cbf9 Fixing tests on a larger device
See atp for failed tests.

Widget container may return objects outside of screen, hence the test
failures.

Test: AddConfigWidgetTest.com.android.launcher3.ui.widget.AddConfigWidgetTest etc
Change-Id: Ia402dae0c9bc8f0585e57ac5f562a59e8ff4ed53
2018-08-22 17:35:18 -07:00
TreeHugger Robot 99d586a4fb Merge "Passing instrumentation to LauncherInstrumentation" into ub-launcher3-master 2018-08-22 23:54:06 +00:00
Winson Chung 6ed64355b4 Use clear-all recent tasks call
Change-Id: I1c93bffa0573d0a37a86b62f5a7ec948ac11799e
2018-08-22 16:16:16 -07:00
Sunny Goyal 018e3c4447 Update the shared lib for lambda definitions removal
Bug: 112849320
Change-Id: I9b8971a84368eee88bf6fc5a4c0e39b32e7ea891
2018-08-22 15:46:38 -07:00
Jon 170be9beb0 Merge branch 'ub-launcher3-edmonton-polish' into pi-dev
Bug: 112854572
Bug: 80134723
Test: manual
Change-Id: I9dacb5203e16ddad8d685058cdd19b689585acc8
2018-08-22 18:12:49 -04:00
TreeHugger Robot a75f0395ee Merge "Preventing padding from getting reset when the widget updates" into ub-launcher3-edmonton-polish 2018-08-22 21:41:33 +00:00
Android Build Merger (Role) 840bd3762c [automerger] Preventing padding from getting reset when the widget updates am: 4cbbaedb2c
Change-Id: I851c06714e0809a9afb108b8c66a0d01384e3c41
2018-08-22 21:34:10 +00:00
Sunny Goyal 4cbbaedb2c Preventing padding from getting reset when the widget updates
Bug: 112854572
Change-Id: Ia2963310997ca13f2e1f18f7268b0b9b54a53590
2018-08-22 14:34:03 -07:00