This shortcut allows users to initiate peer-to-peer app sharing from an app's long-press menu on the home screen. It does so by passing an intent to the specified component. In this base implementation, that specification in config.xml is left blank, and the button will not appear. In GMS Launchers such as LauncherGoGoogle, the config should be set to point to Nearby Sharing.
This also establishes Launcher3QuickStepGo as a distinct subclass of QuickstepLauncher instead of merely a build configuration.
Bug: 157515296
Bug: 174286192
Test: Manual (tested on local wembley devices)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: I826bd03721d2e7e963b15d5958e9a18a1cc16f1d
This reverts commit 6b99a7d397.
Reason for revert: Launcher3 AOSP cannot link to uieventloggerlib because it's private API
Change-Id: Id652b8a4cba54b97d1d8b8644c2939903cc0e88a
* 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
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
Allows us to override only the required methods, instead of providing
a proxy method for everything
Change-Id: I816dcdb2a8d5432496050118ded0f2bbe7122cf7
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
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
Benefit! we would not get merge conflict when one of these jars update
and we need to do code merge.
Change-Id: Ia6a4a632474a7b19aaede1d20d1373902da1400c
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
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
Add the secondary launcher activity in Launcher3QuickStep to support
secondary display.
Bug: 118206886
Test: Manual test on cf_x86_phone-userdebug
Change-Id: I4787f92fe32bb89f5f4c4fc3f93a4d3f27d5d2e6
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
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
> 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
This CL is preparation work to implement Modular shortcuts component in launcher using java/code swap.
Bug: 112904271
Test: Manual test
Change-Id: I35cf81e95fe487a384d4e9f17ea303093197318f
- 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