Shared system uid and android acore process

1,613 views
Skip to first unread message

Cheryl Sedota

unread,
May 19, 2010, 11:02:11 AM5/19/10
to android-platform
I am working on a custom platform build of Android, and I am noticing
that a subset of platform apps run under the shared android uid
"android.uid.shared"
and additionally some apps (not necessarily the same ones either) run
as part of the acore process:

<manifest ...
package="com.android.launcher"
android:sharedUserId="android.uid.shared"
android:sharedUserLabel="@string/uid_name">
...
<application
android:name="LauncherApplication"
android:process="android.process.acore"

Can someone from the Android team please explain the difference
between the two, and why an application would want to utilize one or
both of these attributes? There are several scenarios that don't make
complete sense to me:

- Launcher runs with android.uid.shared and android.process.acore
- Launcher2 does not specify either.
- ApplicationsProvider runs with android.process.acore only
- LatinIME and PinyinIME both run with android.process.acore only

Thanks!!
Cheryl

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
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.

Dianne Hackborn

unread,
May 19, 2010, 2:28:57 PM5/19/10
to android-...@googlegroups.com
The process android.process.acore is used to run multiple components to reduce memory usage; it is there for optimization.  An app must be give the user android.uid.shared to run in that process.

Launcher2 no longer runs there because it is targeting higher-end devices with more RAM.
--
Dianne Hackborn
Android framework engineer
hac...@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

Reply all
Reply to author
Forward
0 new messages