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
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
Bug: 112042795
Test: Manual testing
I found following effect of shrinking on the apk:
Launcher3QuickStepGo.apk 4925099 bytes
Launcher3QuickStepGo_Proguard.apk 2619051 bytes
We get total saving of 2306048 bytes in apk size.
Change-Id: I75abedc05e5d04967928e73f02bcc78608f52ac0
Go devices will not want QS.
Bug: 77490347, 110425849, 109932837
Test: Manual, Launcher is no longer crashing
Change-Id: I1a1e0540beeab04927802156be26098139710f30
There has been a link-type check warning on libSharedSystemUI
the prebuilt lib is built without SDK but the app using it
(Launcher3QuickStep) is built with SDK. Since this effectively prevents
the app from being unbundled, such warning will turn into errors soon.
However, the lib isn't ready to be built with SDK yet. So, in order to
suppress the link-type check warning until then, the prebuilt lib is
added with LOCAL_SDK_VERSION := current.
Bug: 69899800
Bug: 73327733
Test: m -j Launcher3QuickStep is successful and does not show any
link-type check warning
Change-Id: Ifd74bfee8c608e099737bd46569b05f007c1e86b