2012-08-22 2 views

답변

17

체크 아웃 attrs_manifest.xml :

<!-- 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> 

코멘트가 대답해야 당신의 문제.

+2

그리고 이것에 대한 실제 사용 사례는 무엇입니까? – kreker

+0

그래,이게 현실 세계에서 어떻게 유용 할까? 원래 APK를 설정 패키지의 platform_packages_apps_settings와 같은 새 APK로 대체 하시겠습니까? –

0

나는 원래 패키지를 생각 AndroidManifest를 속성이 사용자 ID가 다른 패키지와 함께 공유하지 않는 경우에 사용되는 안드로이드/platform_frameworks_base 소스의

+0

userID는 Linux 사용자 공간을 의미합니까? 그렇다면 어떻게 다른 패키지와 공유 할 수 있습니까? –

관련 문제