2012-08-22 13 views

Odpowiedz

17

Wyjazd attrs_manifest.xml w android źródła/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> 

Uwagi należy odpowiedzieć na Twoje pytanie.

+2

i jaki jest w tym prawdziwy przypadek użycia? – kreker

+0

Tak, jak byłoby to przydatne w prawdziwym świecie? Może zastąpić oryginalny pakiet APK nowym ... jak platform_packages_apps_settings z pakietu Ustawienia? –

0

wierzę oryginalnego-pakietu AndroidManifest atrybut jest stosowany, gdy identyfikator użytkownika nie są udostępniane żadnym innym opakowaniu

+0

Przez userID masz na myśli przestrzeń użytkownika Linux? Jeśli tak, to w jaki sposób byłoby to udostępniane innym pakietom? –