Commit Graph

133 Commits

Author SHA1 Message Date
Winson Chung f99351888c Revert "Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ...""
This reverts commit 087a9e39b6.

Change-Id: I05b17a6e4aaaef6de3c2fa26aad45a39eb2833f9
2020-10-23 09:27:48 -07:00
Alistair Delva 087a9e39b6 Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ..."
Revert "Merging from ub-launcher3-master @ build 6877130"

Revert "Merging from ub-launcher3-master @ build 6877130"

Revert "Merging from ub-launcher3-master @ build 6877130"

Revert submission 12738409-merge_ub-launcher3-master_6877130

Reason for revert: Introduced crashes to global presubmit

Reverted Changes:
I624658ce6:Merge commit '8d14dbe041199d611839140f1c9285fd4174...
Iccd2f1e3a:Merging from ub-launcher3-master @ build 6877130
I791d64951:Merging from ub-launcher3-master @ build 6877130
Icdd32ab01:Merging from ub-launcher3-master @ build 6877130

Bug: 169963211
Change-Id: I77a4ae59e823147beae8dd7cb9b54ccdace2c7f4
2020-10-05 14:46:26 +00:00
Hyunyoung Song 95786e077d Good riddance UserEventDispatcher
Bug: 165675920
Bug: 161381246

TL;DR;;
- nano -> lite proto
- add all the missing logs to WW
- pin item related logging fix
- Removed logging for assistant

sgrep "com.android.launcher3.userevent.nano." | cut -f1 -d: | xargs sed -i -e 's/userevent\.nano\./userevent\./g'

Change-Id: Ie2a49fdd891cacbd7ef40a1dc9e41ff0574c7517
2020-09-27 13:41:49 -07:00
Samuel Fufa a2d6a91be9 Support settings search in AllApps
[preview attached to  BR]

Bug: 166044087
Test: Manual
Change-Id: I997fc1c7e2e2c500f64858df9ccea4911e05d649
2020-08-25 21:40:38 +00:00
Sunny Goyal 5fb83a47f2 Removing icon recents version
Change-Id: Ibdc88715e38590cedf8a7b5174061bb2c6ef9533
2020-08-14 10:49:19 -07:00
Sunny Goyal eaf7a95546 Changing minimum supported Launcher version to 26
Change-Id: I49fcf874430ac53c3246371e179fbd828e14e4da
2020-07-29 17:30:19 -07:00
vadimt 45564c831b Removing debug requests from non-debug test info handlers
Bug: 152629799
Bug: 153670015
Change-Id: I02776be811d1d3325b35880d19d25a6638f904ef
2020-06-10 18:48:37 -07:00
Hyunyoung Song 7f7894e3b7 Hookup statsd for workspace layout logging
Bug: 144953948

Change-Id: I81bd42929b2d65a63c610e95e5e01179a3971493
2020-05-10 01:37:42 -07:00
Hyunyoung Song 1505d2f2e6 Revert "Use UiEvent for constants inside StatsLogManager"
This reverts commit 6b99a7d397.

Reason for revert: Launcher3 AOSP cannot link to uieventloggerlib because it's private API

Change-Id: Id652b8a4cba54b97d1d8b8644c2939903cc0e88a
2020-04-15 16:52:19 +00:00
Hyunyoung Song 6b99a7d397 Use UiEvent for constants inside StatsLogManager
Bug: 137777105
Bug: 148533500
Change-Id: I8ebf1110e8d25ab28f7496add9734bd7386b272f
2020-04-14 13:59:31 -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
Sunny Goyal 5c052b4a2e Removing multidex support
Bug: 148912608
Change-Id: Ib9ab922ec0c3b0f3c5e4a8f5ebc6220cac1e5516
2020-02-06 14:10:03 -08:00
Sunny Goyal 9c2b96090b Adding SecondaryDisplayLauncher in Launcher using common listener
Bug: 141596722
Change-Id: I480bfadf592f7d0309f17c33a3fe14bb77fb5586
2020-01-30 08:27:27 +00:00
Peter Kalauskas 0842cf5f9d Remove Launcher3GoIconRecents
Bug: 144129431
Test: Build and check that Launcher3QuickStepGo is used instead
Change-Id: Ib2a30c9e1e78de7792f34c3505372c8af1cb307d
2019-12-11 12:18:52 -08:00
Jeongik Cha 6af66b01c7 Move the app to /system_ext
As mentioned in go/partitions-in-r, we plan to forbid hidden API in
product partition.
So this app should be moved to /system_ext because it uses hidden API.
It is not permanent, so they can be moved back to /product due to
needs if there isn't hidden usage anymore.

Bug: 137908189
Test: m
Test: check whether device boots successfully
Change-Id: Ida940a2e1bb832cf5c3d147297e7ed65fa6921d5
2019-12-05 11:18:52 +00:00
Sunny Goyal 210e174c9c Subclassing Launcher instead of using UiFactory
Allows us to override only the required methods, instead of providing
a proxy method for everything

Change-Id: I816dcdb2a8d5432496050118ded0f2bbe7122cf7
2019-10-21 11:10:21 -07:00
Sunny Goyal cd0acdb9ad Including wrapper code in Launcher builds
Change-Id: Id34cb77ffd29f68e4f286d83840989ca0d96b9d7
2019-09-26 00:26:03 -07:00
Sunny Goyal 3e3d759db2 Removing flag overrides. All flags should be defined as togglable flags instead.
Change-Id: Ia7b9ff84413096cd5b0c4a9a81a232019f2522d2
2019-09-12 10:17:14 -07:00
Hyunyoung Song a68fba3abf Build rule cleanup
Bug: 122333437
Change-Id: Iabb6dcc4e6615112fdf730f41fe39d34fdac8737
2019-08-08 02:02:20 -07:00
Greg Kaiser 6aabe679c5 Android.mk: Strictly order QuickStepGo and GoIconRecents
We had Launcher3QuickStepGo adding Launcher3GoIconRecents to
LOCAL_OVERRIDES_PACKAGES, and also had Launcher3GoIconRecents
adding Launcher3QuickStepGo to LOCAL_OVERRIDES_PACKAGES.  As
a result, if both of these got added to PROJECT_PACKAGES, we
would end up with neither launcher, since they both overrode
each other.

To fix this, we declare a strict hierarchy.  Since
Launcher3GoIconRecents is the default, we put Launcher3QuickStepGo
to be higher in the hierarchy.  While that might seem a
counter-intuitive choice, it makes it much easier for folks
to override the default, without needing to modify the file
containing the default.

Test: Various clean builds which revealed this root issue, and this fix.
Bug: 135161289
Change-Id: If718a7030aa6ee4b6b952406006abda77b1eb8e5
2019-06-18 17:36:53 +00:00
Tim Joines 31d569e324 Launcher3GoIconRecents should override Launcher3Go
The default recommended launcher should be Launcher3GoIconRecents for
low_ram devices.

Bug: 131434765
Test: manual, check out dir
2019-04-29 10:32:49 -07:00
Rajeev Kumar 30e5ce7cba Move Launcher3GoIconRecents to /product partition and update local override package.
This move resolves privapp-permissions whitelist issue and multiple Launcher3 apks on the device.  

Bug: 131102753
Test: Built, flashed crosshatch_svelte-eng target on a Pixel 3 device and the device boots successfully. 
Change-Id: Iee0e12737cd26acddf8d1d3e057a613febb3d7e0
2019-04-23 19:35:50 +00:00
Hyunyoung Song 3f8544af9a Move PlubinLib to prebuilts/frameworks_intermediates
Bug: 129423457
Change-Id: I7ed06609efa33ae98ffcd6f937a76a6b772c3fc1
2019-04-03 23:07:13 -07:00
Hyunyoung Song cbf82cc062 Reconcile difference between master and ub-launcher3-master
b/129423457

Change-Id: I63e2a1a6b40ced849e852f1b7bffa4e9fa177f18
2019-03-27 22:02:35 +00: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
Hyunyoung Song 319b5a6ace Remove f/b based jars out of the Android.mk
Benefit! we would not get merge conflict when one of these jars update
and we need to do code merge.

Change-Id: Ia6a4a632474a7b19aaede1d20d1373902da1400c
2019-03-14 13:44:14 -07:00
Kevin dd50f6a7dc Fix build break for Launcher3GoIconRecents
The make rule for recents Go was called Launcher3QuickStepGoIconRecents
in the make file while the one in the presubmit build rule is called
Launcher3GoIconRecents.  I opted to change the one in the make file
since the one in presubmit is shorter.

Test: Builds
Change-Id: I740534707206d79d364312bfaf3a623a3c429f52
2019-02-26 17:08:49 -08:00
Anton Hansson 3e75460459 Require privapp grants for all launcher3 apps
The privapp permission grant file for launcher3 was previously only
installed for Launcher3QuickStep, which is the default launcher app
in the AOSP product config.

Make other apps use it too for products that override
Launcher3QuickStep (or use one of the other variants).

Bug: 123300025
Test: build/boot product with Launcher3QuickStepGo
Change-Id: I295ed7f1d65d1e6b4ba6364b2468182353340bbb
2019-02-06 16:51:30 +00:00
Hyunyoung Song 6163624666 Change the location of Launcher apks from /system to /product
Bug: 123777579
Change-Id: If0ee9099aec223394d60ad4dbcd2c6f80f33067b
2019-02-01 17:43:40 -08:00
Chilun ed0a112fdb Add SecondaryDisplayLauncherLib in Launcher3QuickStep
Add the secondary launcher activity in Launcher3QuickStep to support
secondary display.

Bug: 118206886
Test: Manual test on cf_x86_phone-userdebug
Change-Id: I4787f92fe32bb89f5f4c4fc3f93a4d3f27d5d2e6
2019-01-08 14:31:56 +08:00
Kevin 2857871b7f Add build variant for go-specific recents.
This CL sets up the source directories to build a Go version of
quickstep recents/icon recents. This is accomplished by splitting the
quickstep resources/sources into two groups: the base source and
sources that should be overridden (recents_ui_overrides). The new Go
recents variant then takes the base and combines it with the sources
in go/quickstep which should replace the ones in recents_ui_overrides.

As of now, no classes have been moved yet, so there
are only placeholder files.

In addition, this modifies the make and gradle files to reflect the new
sources.

Bug: 114136250
Test: build all targets via tapas, build all APKs from IDE
Change-Id: I6d0a4d93ab1c38d4ffc28fd21823caadd96d23f7
2019-01-07 14:37:02 -08:00
Chilun 3516bd89d9 Add a secondary launcher activity (1/2)
This secondary launcher activity with new category SECONDARY_HOME and
multiple instance supporrted could be used on sencondary display.

Bug: 118206886
Bug: 114329798
Test: Manual
Change-Id: Ibaecf8ef7614389760d0fcc547ef6d378a921583
2018-12-13 09:21:47 +00:00
Sunny Goyal 4276e7b649 Moving autority definition to a separate file, so
that it can be easily customized using android studio

Change-Id: I17f4f4511c2af5d382727769d1b74413f233d500
Bug: 120079798
2018-11-27 23:20:32 +00:00
Sunny Goyal 202fabfe10 Adding reusable version of IconCache and IconFactory
> Adding resource based allowing projects to control cache behavior
> Fixing missing comments from ag/5470467
> Adding support for no-immemory cache

Bug: 115891474
Change-Id: I691206805430cd93d3be78119bc249cefd79790a
2018-11-09 15:44:07 -08:00
TreeHugger Robot 8ac8d73530 Merge "Split out launcherProtos from sysui_shared.jar" into ub-launcher3-master 2018-11-06 01:14:56 +00:00
Hyunyoung Song 0ae3888ad1 Split out launcherProtos from sysui_shared.jar
Bug: 113043444
Change-Id: I3115cdc7871b0f77601e399df01cdde0dde87c6e
2018-11-05 17:01:54 -08:00
Hyunyoung Song 719eee2be2 Create iconloader library
Bug: 115891474
Test: Builds everything

Change-Id: I1d75702d4e5a10d694eeb839784a629de2f74dd2
2018-11-02 14:18:45 -07:00
Rajeev Kumar 51ca603ac4 Create a deep shortcuts override.
This change disables deep shortcuts on Android Go devices.
Bug: 112904271
Test: Manual test

Change-Id: I6150a3500f67d8a8412b51796cc442e3384c2cbb
2018-10-31 13:52:38 -07:00
Rajeev Kumar c00a259701 Rename go/src_flags directory as go/src
This CL is preparation work to implement Modular shortcuts component in launcher using  java/code swap.

Bug: 112904271
Test: Manual test
Change-Id: I35cf81e95fe487a384d4e9f17ea303093197318f
2018-10-30 17:16:25 -07:00
TreeHugger Robot a934b2bbca Merge "Using support lib implementation for launcher preference" into ub-launcher3-master 2018-10-19 20:36:31 +00:00
Sunny Goyal b2498b2790 Using support lib implementation for launcher preference
Bug: 117519297
Change-Id: Icea5e022a337436e48db9376fd441f805dc34e54
2018-10-19 18:09:40 +00:00
Tony Wickham 5c5c118c48 Add AllAppsRow plugin interface
Bug: 115877296
Change-Id: I750941f220d08ca9ee14067253253f6d81417101
2018-10-16 17:22:09 -07:00
Tony Wickham 76cce29d66 Add plugin support
- Add libs/plugin_core.jar
- Include plugin_core in Launcher3 build (it is already present other
  builds as part of the updated shared lib)
- Add PluginEnablerImpl that uses SharedPrefs to enable/disable plugin
  components
- Add src_plugins, where plugin interfaces will live. It has a build
  rule to create a jar that plugin projects will depend on.
- Copy PluginPreferencesFragment from sysui but using our implementation
  for PluginEnabler

Bug: 115877296
Change-Id: I3db54677eaceb10f92018c0f9d18920ad9ffac39
2018-10-10 14:02:56 -07:00
Sunny Goyal 4548a7d48d Disabling proguard on Launcher3 as it is a test target
Bug: 117527405
Change-Id: I4d32cf060eebaa0d8efe4f0a3a5c924eadcffa4a
2018-10-10 10:03:02 -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
Sunny Goyal d230307a95 Migrating to android-x
Change-Id: I9a774152d13a541e8496dd84f2469bfed407f86d
2018-08-14 15:22:12 -07:00
Rajeev Kumar dedecd8cf3 Specify proguard.flags file explicitly in the Launcher3QuickStepGo make rule
This change makes sure that following build command doesn't error out:
tapas Launcher3QuickStepGo
make -j45

Bug: 112274857
Test: Built source with tapas Launcher3QuickStepGo and it built successfully.
Change-Id: Icd788e4e119efd386bec6646627c2d9dd485af60
2018-08-06 21:37:53 +00:00