Treehugger Robot
a74390020d
Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: de6e32489a
am: be0414dae4
am: 40a03a5f78
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1691588
Change-Id: If0cdd0543f7c07225bba354b47ccb14fd53d05d9
2021-04-30 04:24:59 +00:00
Bob Badour
382a0b6c50
[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3
...
Added SPDX-license-identifier-Apache-2.0 to:
tests/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Id17ab22cf50eabf01ead54016aab0da1c4451d3f
2021-04-29 17:50:38 -07:00
Bob Badour
8182d214e1
Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3" am: 541d0855ac
am: 3be35ec269
am: 8824a5cd61
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1587746
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia1a355fb2ed5bebd8cfff2f5da2eef14428bfe15
2021-02-24 23:53:29 +00:00
Bob Badour
4bdf380625
[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Launcher3
...
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
Android.mk
robolectric_tests/Android.mk
tests/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ia348bba8ca075e87070ff8a605ca79ffcbea9982
Merged-in: Ia348bba8ca075e87070ff8a605ca79ffcbea9982
2021-02-21 20:34:37 -08:00
Vinit Nayak
a34af18b0e
Update System settings content observer to cache values.
...
Existing ContentObserver will cache values and overwrite
them when the value itself is modified or caller force
updates.
Bug: 149571513
Test: Wrote unit tests, mostly for caching logic.
Not meant to test ContentObserver contract for registering an
observer.
Change-Id: I12835f6c2be27ce17f65a55c51c4ef85c63b4487
2021-02-16 20:58:53 -08:00
Hyunyoung Song
bb71582658
Merge remote-tracking branch 'goog/ub-launcher3-master' into temp
...
Test: make builds
Change-Id: I4e845aa51c9247328159e5aa0d95d425bffa435c
2020-08-06 11:04:41 -07:00
Sunny Goyal
34ff8cb3c1
Adding common code for instrumentation and robolectric tests
...
Change-Id: Ia338f0565868bb174ef5f6721924944792866be6
2020-04-20 14:42:30 -07:00
thiruram
c1c2bfa7fb
Initial draft of smart folder logging to clearcut pipeline.
...
* Adds additional fields to launcher_log.proto to capture smart folder related information.
* Uses ProtoLite to generate log object using builder pattern and converts to nano version before writing to clearcut. Hence not making drastic change to existing logging pattern.
Change-Id: I89b10da8d4e35e3abc7ddb553046946f91b43445
2020-02-13 13:32:21 -08:00
Dan Willemsen
26b0938f09
Fix Launcher3Tests SDK version
...
In a879f9c481
, the ub-launcher-aosp-tapl
was switched from current to system_current. Since Launcher3Tests links
against this library, we require it to use the system stubs as well.
But I broke the check in the build system while doing some cleanup, so
we never noticed. I'm fixing the check in:
https://android-review.googlesource.com/c/platform/build/+/1156840
Bug: 143748700
Test: treehugger
Change-Id: Ifcf47b19f7ed8f907e437325b4fd6a599fcca4cf
(cherry picked from commit 981ec8b789
)
2019-12-26 22:18:32 +00:00
thiruram
5e1ecf6d73
Adds proto-lite libraries to Launcher3 make files.
...
Change-Id: Icb2f8fcdb4d5344de835f4702fc01ec80d4a3b84
2019-11-20 21:49:44 +00:00
Sunny Goyal
17c72fbb60
Unifying various tracing calls
...
Change-Id: Iedf6662ad1d7281b850bdc43b3a1e373ce535ac6
2019-10-14 14:23:19 -07:00
Winson Chung
a879f9c481
Adding binder tracking support in tests
...
- Whitelist specific binder calls when handling touch during swipe up
gestures
- Only track binding for touch handling and certain launcher lifecycle
changes for now
Bug: 140246642
Change-Id: I6ba30280dd17da358662870f8719ae851536ad8b
2019-09-18 17:08:05 -07:00
Hyunyoung Song
a68fba3abf
Build rule cleanup
...
Bug: 122333437
Change-Id: Iabb6dcc4e6615112fdf730f41fe39d34fdac8737
2019-08-08 02:02:20 -07:00
vadimt
8296c6132d
Enabling tests for pausing apps
...
Bug: 123892607
Change-Id: I1fa90f6dd4312b9311b8e706b2119dc04e3e2389
2019-05-29 12:07:55 -07:00
Sunny Goyal
ab3963ddcf
Moving TestInformationProvider to Launcher3 so that it can be used for
...
testing Launcher3 without quickstep
Also keeping the provider as disabled until needed
Change-Id: Ib5f459e02ae551724b390f3b74f43d601568d749
2019-05-23 14:02:33 -07:00
vadimt
1b383af652
Not using magic constants for navbar height
...
Change-Id: I6783b8a2ebb059ce35748d8c3e818cbe732ff40d
2019-05-08 17:20:34 -07:00
Sunny Goyal
5743f8635b
Making navigation mode listener a singleton so that the change is dispatched
...
everywhere synchronously.
Change-Id: Iee8c5957d78dfad3fb03e814de0367adcaa0c98b
2019-03-29 09:36:45 -07:00
Winson Chung
f25461c337
Updating to nav bar mode
...
Bug: 127366543
Test: Manual
Change-Id: I602539e5d6161c5bf6056bb60679b7ef1f168e3e
(cherry picked from commit 18841823ed
)
2019-03-26 14:52:10 -07:00
Hyunyoung Song
40bea55b75
Move plugin_core.jar back to Launcher3 to unblock code merge
...
Change-Id: Ic9d6ab16ac7a8c5c1f528bdcac06e56f718a3f91
2019-03-22 14:45:56 -07:00
Hyunyoung Song
896a715a1c
Reconcile difference btw master and ub-launcher3-master
...
Change-Id: I33dcd6a062b754edbe2da9c7fcf2a8ccfb41b661
2019-03-21 14:06:02 -07:00
Vadim Tryshev
bcde95efec
Revert "Include Launcher3QuickstepLib for tapl"
...
This reverts commit 494dd8da82
.
Reason for revert: Breaks ub tests
Change-Id: I8f0d4a67e7a4cae21f5c9448abcc4d614f730fa4
2019-03-06 00:44:53 +00:00
Hyunyoung Song
494dd8da82
Include Launcher3QuickstepLib for tapl
...
Bug: 123904290
Change-Id: I388061edcc5a2978d6c6f1102d92e09155678e34
2019-03-04 10:57:54 -08:00
Brett Chabot
d7d692c2f9
Replace use of deprecated target androidx-test
...
Test: make Launcher3Tests
Change-Id: Ib14fd9da1df3c022d39efb69660ff59b8a47db5d
2018-10-23 21:17:58 -07:00
Sunny Goyal
420d54544e
Using a common class for observing secure settings
...
Bug: 117519297
Change-Id: Ie9d948130aea50bf10c9fc625fdb16f4cfc4712e
2018-10-17 12:07:13 -07:00
Hyunyoung Song
da4fcfea63
Move tapl build rule to Android.bp
...
Bug: 113683301
Test: make Launcher3Tests
Change-Id: I9f279bb80f3f399a2271ed8ee94445afbebacb2e
2018-09-05 10:18:28 -07: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
Vadim Tryshev
0a9f3ab4a6
Converting tests to Androidx
...
Bug: 112610679
Change-Id: I712826e668f1fbeb4e47cc541d4f5296d8eb74c0
2018-08-21 15:04:48 -04:00
Vadim Tryshev
b6398a1eb8
Sharing protocol constants between Launcher and TAPL
...
Bug: 110103162
Test: TaplTests
Change-Id: I5b2a2b8576a7a6ea4a156f00858711496d6b5bba
2018-08-14 19:53:43 -07:00
Sunny Goyal
d230307a95
Migrating to android-x
...
Change-Id: I9a774152d13a541e8496dd84f2469bfed407f86d
2018-08-14 15:22:12 -07:00
Vadim Tryshev
dc755e718d
Started converting Launcher to be gesture-stable
...
All tests keep passing.
WorkTabTest.workTabExists was made gesture-stable. There is no need to
use TAPL, as the point is not to check answering to gestures, but to
check presence of tabs, which is better to do using launcher internal
state. (It still fails if run as a part of all tests, presumably,
because after Launcher's start, changes in user configuration are not
recognized, so I've commented the failing part)
Bug: 110103162
Test: Run all tests
Change-Id: Ic30b8e8475d16cee3880332f12311a44ddfa26cb
2018-08-14 10:29:57 -07:00
Vadim Tryshev
309053fff9
Using SWIPE_UP_SETTING_NAME in TAPL
...
Bug: 110103162
Test: TaplTests suite
Change-Id: Ia62207773a156aca1e226307ccc462c252cc9227
2018-08-10 14:30:59 -07:00
Vadim Tryshev
b02bcd4c76
Removing code duplication for getting swipe-up setting
...
This is between Tapl and Launcher
Bug: 110103162
Test: TaplTests suite
Change-Id: I5b458438834204ca257f45c707577b4d2793fb4e
2018-08-07 18:01:12 -07:00
Vadim Tryshev
44780bad8f
Adding AOSP into the tapl library name.
...
The idea is to prevent accidentally
adding non-AOSP code to it, which would make it wrong to
drop it to AOSP parts of the platform.
Bug: 110103162
Test: Building TaplTests suite
Change-Id: Ide68f469d59fefb72b5195c7916bd1515a9bbed2
2018-08-01 13:08:19 -07:00
Vadim Tryshev
a279b2ea3e
Adding a build rule for Tapl static library
...
Bug: 110103162
Test: TaplTests suite
Change-Id: Ibff017b68b1a31728d3a8d0c1ede2da6ebfecbb1
2018-07-24 17:16:25 -07:00
Hyunyoung Song
c22dec25f7
Change target SDK for Launcher3Tests.apk to run on Sailfish device (API28)
...
Bug: 78589564
https://sponge.corp.google.com/target?tab=Details&run=1&sortBy=STATUS&show=ALL&id=453a6b41-ff25-4a20-927a-561abad0e730&target=launcher3_unittests_invocation&searchFor=
Change-Id: I7e97545329e684304c074c66bca409467e17b90b
2018-06-14 14:38:14 -07:00
Sunny Goyal
658058b960
Adding some widget addition flow tests
...
> Added two dummy widget providers: with config and without config
> Added tests for verify widget config flow
Change-Id: I4577f085abe8f8b82047b644c71cc9065358153a
2017-01-23 15:28:25 -08:00
Hyunyoung Song
b0d77fe35f
Revert "Build empty test apk until junit dependency issue is sorted out."
...
This reverts commit 4c82c33a64
.
Change-Id: I39c142e2b0e882245a6928264465578e4ddc12c9
2017-01-05 10:55:42 -08:00
Hyunyoung Song
4c82c33a64
Build empty test apk until junit dependency issue is sorted out.
...
Change-Id: Ib63a654139e43c433011d0f7b761905426aff24d
2016-12-08 14:58:44 -08:00
Sunny Goyal
f0ba8b7ca1
Moving various runnables in LauncherModel to individual tasks
...
> Adding tests for some of the runnable
Change-Id: I1a315d38878857df3371f0e69d622a41fc3b081a
2016-11-09 15:50:08 -08:00
Sunny Goyal
ec944ad7b0
Build fix: Updating SDK for tests
...
Change-Id: I1377dce808335f65eb0799b7053c84853f57980a
2016-08-01 10:08:27 -07:00
Sunny Goyal
7eab3cc374
Fixing broken instrumentation tests when run from command line
...
Change-Id: I923cdbaaaf18c9b765d1e70122b92cd2c1621e06
2016-03-18 17:48:53 -07:00
Sunny Goyal
ca846f8f54
Fixing Test builds
...
Change-Id: I8524ebc124270feb2e6e69e17ba0e0c6301bce18
2016-01-26 12:17:24 -08:00
Hyunyoung Song
170a9f3a1c
[unit tests] Setup instrument target for the launcher3 unit test
...
b/19566571
Change-Id: I47da40aa13a3e7c5ec8531e7ef6a9e52f764c565
2015-03-02 11:55:42 -08:00
John Spurlock
2c38e70acd
Fix launcher3 standalone build.
...
Change-Id: Ibfe14c5960211916222fc49389b8776be6bf768b
2013-09-18 10:51:31 -04:00
Tsu Chiang Chuang
923aa62463
rectify build files.
...
Change-Id: I138ac7805cb045f960e32193bad95a73cd8b063e
2011-06-17 12:11:23 -07:00
Tsu Chiang Chuang
8c7a2b7d02
Adding stress test for launcher2 rotation.
...
Change-Id: I03b7dbdd025af39fc733a91f54633a548225e140
2011-05-25 15:32:00 -07:00