Commit Graph

35 Commits

Author SHA1 Message Date
Thiru Ramasamy d495e8c8b4 Implement LauncherLayoutSnapshot pulled atom callback.
This change will pull only the workspace items but not the launcher settings such as grid layout etc. Future CLs will address it.

Bug: 181703659
Test: Manual-`statsd_testdrive 10108` http://gpaste/4894958784872448
Change-Id: I0e7d7da62034c411edb26ff9205a81b0e2e891a0
2021-09-10 13:29:27 -07:00
Sunny Goyal 4af8cf9269 Updating test build rules
> Moving definition to bp files
> Adding mokito-inline to allow mocking final classes
> Moving src_common to src to avoid unnecessary code split

Bug: 196825541
Test: Presubmit
Change-Id: Ib6879cda6aee74f5b9050a16eb6ca94ed3b7e28c
2021-08-18 10:22:52 -07:00
Brian Isganitis 93031bc2ae Revert "Revert "Update preferences to Material Next styling""
There should be enough free space to merge this change into S V2.

This reverts commit 19d623d921.

Test: Settings root, all apps, and about have new style on S
Bug: 187732263
Fix: 188254205, 188012913
Change-Id: I346bbf819f3fe1eb13b47125b53c15baab11e439
2021-06-11 16:04:35 -04:00
Weilun Du 19d623d921 Revert "Update preferences to Material Next styling"
Revert "Add dependency for settings activity collapsing toolbar"

Revert submission 14740617-collapse3

Reason for revert: Build breakage
Reverted Changes:
I5ef658979:Add dependency for settings activity collapsing to...
I0ca55eecb:Update preferences to Material Next styling

Bug: 189919452
Change-Id: I4aa0bfc473334266a951d84064b4e8e406fff0a4
2021-06-02 22:04:44 +00:00
Brian Isganitis 9b8ab05a17 Update preferences to Material Next styling
Styles are forked from SettingsLib to avoid using any private APIs.

Test: Settings root, all apps, and about have new style on S
Bug: 187732263
Fix: 188254205, 188012913
Change-Id: I0ca55eecbc82cfa5d0b8707beb4bb7c82b2aa2b1
2021-06-01 19:44:19 -04:00
Sunny Goyal 1fb271f6e1 Fixing some errorprone build rules
Bug: 186259590
Test: Presubmit
Change-Id: I3a4a306a0351a67d53e35a6919296dbda8649766
2021-05-20 10:43:23 -07:00
Pedro Loureiro 1e296c10cf Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: I827a5b21dd52448d4f68da6743a1a1632d99573d
2021-04-12 19:36:17 +01:00
Jon Spivack a65d68b6bf Support LauncherGoGoogle builds in Android.bp
LauncherGoGoogle has dependencies in Launcher3. In order to build it with Android.bp files, these must be exported as filegroups/libraries.

Bug: 184175022
Test: Manual (built/installed on local device)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I1748ab9ccda06dadbd05c2ffcc77b59478ce37c7
2021-04-08 09:55:05 -07:00
Sunny Goyal 11d7d34f0d Removing unnessary resource split in overview
Bug: 184169818
Test: Presubmit
Change-Id: Iff5a8510be337472f05acb5629712ec088361471
2021-04-02 11:43:29 -07:00
Sunny Goyal 572aca4ce2 Moving some common functionality to IconLoaderLib
Bug: 183641907
Test: Manual
Change-Id: Icfc7ebb140e4e1678b0715beee2e0e513e707b9e
2021-03-25 10:06:53 -07:00
Sunny Goyal f5c42ea6aa Adding some build rules in Launcher3
Bug: 182502086
Test: Presubmit
Change-Id: Ib2c18f1e252b3382030293fd3b873e840320301a
Merged-In: Ib2c18f1e252b3382030293fd3b873e840320301a
2021-03-18 01:26:36 +00:00
Hyunyoung Song 5a007fe0f6 Convert Launcher Android.mk to Android.bp to setup RoboTests
Bug: 181083996
Test: m Launcher3 && install Launcher3 and test basic things
Test: m RunLauncherRoboTests (90 tests run and 3 fails)

Change-Id: Icdc839d06413409cbd52d10a5ef9fe27b0a57baa
2021-03-07 22:42:42 -08: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
thiruram cbeb13d6c7 [AA+] Log app launches from AA+ search result container.
This change will update westworld logs for app launches from AA+ search result. Updates log's container info from AllAppsContainer -> AllAppsPlusSearchResultContainer.

Bug: 178562918
Change-Id: I9ffca27fea42951a57640ef36717c04ff0251506
2021-02-03 10:08:57 -08:00
Winson Chung 87f2b09072 Merging from ub-launcher3-master @ build 6925377
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6925377.html

Change-Id: I928b100c8f41abff34047df69d988622123f9939
2020-10-23 10:16:50 -07:00
Sunny Goyal f622e42bf6 Removing unused proto extensions
Change-Id: I6d0319c99934dad5176b6f70b895a4ca772ec45f
2020-10-02 10:36:06 -07: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
Hyunyoung Song 8605be3162 Convert LauncherPluginLib to soong
Bug: 148896221
Change-Id: I0c09ba2994cf2a8e230aebc51eb52a8acadf8686
2020-02-21 14:56:40 -08: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
thiruram 5e1ecf6d73 Adds proto-lite libraries to Launcher3 make files.
Change-Id: Icb2f8fcdb4d5344de835f4702fc01ec80d4a3b84
2019-11-20 21:49:44 +00: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
vadimt 09df0831da Creating provider for test gesture dimensions.
Start with answering only whether the provider will answer any other
questions.

Bug: 123904290
Change-Id: I7b3ba8c7689f937d8bc1d470b00574ab4340130d
2019-03-13 17:52:42 -07:00
Vadim Tryshev 5b367af3ca Revert "Add launcher-log-proto-nano rule in Android.bp"
This reverts commit 0a13878b96.

Reason for revert: We decided to get launcher dimensions differently in the short-term

Change-Id: I875f0dab36922e7f85f4dff7af1ab1f22a9c4bd8
2019-03-06 00:52:00 +00:00
Hyunyoung Song 0a13878b96 Add launcher-log-proto-nano rule in Android.bp
Bug: 123904290
Test: m launcher-log-proto-nano

Change-Id: I71c749be60df20ad474a7b898c8668642a67a72f
(cherry picked from commit 46e1145ecc)
2019-03-02 08:03:27 +00:00
Hyunyoung Song 719eee2be2 Create iconloader library
Bug: 115891474
Test: Builds everything

Change-Id: I1d75702d4e5a10d694eeb839784a629de2f74dd2
2018-11-02 14:18:45 -07: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
Hyunyoung Song cda96a5b43 Setup make icon-loader library
Bug: 115891474

Test: make -j10 icon-loader
Next step: Launcher will depend on icon-loader in next CL

Change-Id: I797ddb857cf8be79f3be6ca2f174c593ca3713a5
2018-10-19 14:33:46 -07:00
Sunny Goyal e67e489f93 Fixing missing file in build rule
Change-Id: I272bfd9516a716637c5a245e13bd3a3f2c334f5c
2018-10-18 00:05:01 +00:00
Hyunyoung Song 447036d0d7 Make tapl java_library_static
Bug: 113683301

Change-Id: I06815fcae2f115e5605b978fa2a9e99c87783a9c
2018-09-10 14:15:19 -07:00
Hyunyoung Song 680e03847d tapl should be java_library
Bug: 113683301

Tests failures that we are trying to fix.
https://sponge.corp.google.com/invocations?searchFor=target%3Aandroid.platform.systemui.tests.jank%20label%3Ab%2Fgit_master

When the build rule is android_library, AndroidManifest.xml is pulled into
the the final apk that is being built. Hence, the platform jank and platform test
AndroidManifest.xml is extended with the one we have for Launcher3.
This causes the tests to fail due to existence of disambiguation screen.
We do not want this behavior.

Change-Id: I1a551abf37bb75b4efa8a5e5324ab1b4d8a3eb13
2018-09-07 12:04:09 -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