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
TreeHugger Robot
2eb4708960
Merge "Revert "Use clear-all recent tasks call"" into ub-launcher3-edmonton-polish
2018-08-22 21:22:47 +00:00
Android Build Merger (Role)
b055da40fa
[automerger] Revert "Use clear-all recent tasks call" am: dbbed57094
...
Change-Id: I9326766a3fe2b6334a885eebada339ea2e33a64c
2018-08-22 21:12:57 +00:00
Winson Chung
dbbed57094
Revert "Use clear-all recent tasks call"
...
This reverts commit 68df758665 .
Reason for revert: Should be in master
Change-Id: I1a0d54c606c8cf1e52d5bdbfcd1acc6d0211ab49
2018-08-22 21:12:56 +00:00
Vadim Tryshev
fd34b94b33
Passing instrumentation to LauncherInstrumentation
...
UiDevice, the old param, belongs to a support lib; as TAPL switched to
AndroidX, it became impossible to pass it from platform tests
that still use the old support lib.
Bug: 110103162
Test: TaplTests
Change-Id: I1f82099b432912fa40da96df0d6179579aab66a3
2018-08-21 18:45:02 -07:00
TreeHugger Robot
23bb710b3d
Merge "Converting tests to Androidx" into ub-launcher3-master
2018-08-22 01:22:56 +00:00
Android Build Merger (Role)
dcd6be2fa2
[automerger] Kill launcher when display size changes am: f2b97f8cd8
...
Change-Id: I7fef11b9369f0ac54c21afeac84fd9e756658a2e
2018-08-21 20:37:42 +00:00
Sunny Goyal
f2b97f8cd8
Kill launcher when display size changes
...
Bug: 112876936
Test: Verified by changing display cutout overlay
Change-Id: I3ca13c7be873509334457e3484ac5604731adeae
2018-08-21 13:37:38 -07:00
Vadim Tryshev
0a9f3ab4a6
Converting tests to Androidx
...
Bug: 112610679
Change-Id: I712826e668f1fbeb4e47cc541d4f5296d8eb74c0
2018-08-21 15:04:48 -04:00