Allow shared user id and process to be set via overlays.

This fiddles the manifest to allow the app's shared user id and
process to be changed at build time via resource overlays, so we
can build launcher to run in the acore process for low-end devices.

Also switches the cert of launcher back to shared, to allow for
this.  (Note this only really matters if the shared user id is set,
otherwise launcher will still get its own uid.)

Change-Id: I0bd0a06e1442c4bfe5ceb2d438cb58f29d911578
This commit is contained in:
Dianne Hackborn
2010-03-09 15:03:20 -08:00
parent ccdc875e68
commit 12687cf144
3 changed files with 12 additions and 1 deletions

View File

@@ -19,7 +19,9 @@
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.launcher">
package="com.android.launcher"
android:sharedUserId="@string/sharedUserId"
>
<original-package android:name="com.android.launcher2" />
@@ -62,6 +64,7 @@
<application
android:name="com.android.launcher2.LauncherApplication"
android:process="@string/process"
android:label="@string/application_name"
android:icon="@drawable/ic_launcher_home">