2012-08-22 15 views

risposta

17

Partenza attrs_manifest.xml in Android source/platform_frameworks_base:

<!-- Private tag to declare the original package name that this package is 
    based on. Only used for packages installed in the system image. If 
    given, and different than the actual package name, and the given 
    original package was previously installed on the device but the new 
    one was not, then the data for the old one will be renamed to be 
    for the new package. 

    <p>This appears as a child tag of the root 
    {@link #AndroidManifest manifest} tag. --> 
<declare-styleable name="AndroidManifestOriginalPackage" parent="AndroidManifest"> 
    <attr name="name" /> 
</declare-styleable> 

I commenti devono rispondere alla tua domanda.

+2

e qual è il vero caso d'uso per questo? – kreker

+0

Sì, come sarebbe utile nel mondo reale? Forse sostituire l'APK originale con quello nuovo ... come platform_packages_apps_settings dal pacchetto Settings? –

0

credo che l'originale pacchetto AndroidManifest attributo viene utilizzato quando l'userID non è condiviso con qualsiasi altro pacchetto

+0

Per userID si intende lo spazio utente di Linux? Se sì, come sarebbe condiviso con un altro pacchetto? –

Problemi correlati