There's no way to explicitly remove packages.
However, you can override packages: in the Android.mk for your
replacement for Launcher2, set LOCAL_OVERRIDES_PACKAGES := Launcher2.
When your replacement is included in a product, Launcher2 won't be
included.
JBQ
> --
> You received this message because you are subscribed to the Google Groups
> "android-platform" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/android-platform/-/NXEkdepH3JUJ.
> To post to this group, send email to
android-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
android-platfo...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/android-platform?hl=en.
--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, Android Open Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.