1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="com.android.packageinstaller"> 4 5 <original-package android:name="com.android.packageinstaller" /> 6 7 <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> 8 <uses-permission android:name="android.permission.DELETE_PACKAGES" /> 9 <uses-permission android:name="android.permission.CLEAR_APP_CACHE" /> 10 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 11 <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" /> 12 <application android:label="@string/app_name" 13 android:allowBackup="false" 14 android:theme="@android:style/Theme.Holo.DialogWhenLarge.NoActionBar"> 15 <activity android:name=".PackageInstallerActivity" 16 android:configChanges="orientation|keyboardHidden" 17 android:excludeFromRecents="true"> 18 <intent-filter> 19 <action android:name="android.intent.action.VIEW" /> 20 <action android:name="android.intent.action.INSTALL_PACKAGE" /> 21 <category android:name="android.intent.category.DEFAULT" /> 22 <data android:scheme="content" /> 23 <data android:scheme="file" /> 24 <data android:mimeType="application/vnd.android.package-archive" /> 25 </intent-filter> 26 <intent-filter> 27 <action android:name="android.intent.action.INSTALL_PACKAGE" /> 28 <category android:name="android.intent.category.DEFAULT" /> 29 <data android:scheme="content" /> 30 <data android:scheme="file" /> 31 </intent-filter> 32 </activity> 33 <activity android:name=".InstallAppProgress" 34 android:configChanges="orientation|keyboardHidden"> 35 </activity> 36 <activity android:name=".UninstallerActivity" 37 android:configChanges="orientation|keyboardHidden" 38 android:excludeFromRecents="true"> 39 <intent-filter> 40 <action android:name="android.intent.action.VIEW" /> 41 <action android:name="android.intent.action.DELETE" /> 42 <action android:name="android.intent.action.UNINSTALL_PACKAGE" /> 43 <category android:name="android.intent.category.DEFAULT" /> 44 <data android:scheme="package" /> 45 </intent-filter> 46 </activity> 47 <activity android:name=".UninstallAppProgress" 48 android:configChanges="orientation|keyboardHidden"> 49 </activity> 50 <!-- 51 <receiver android:name=".RemoveReceiver"> 52 <intent-filter> 53 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> 54 <data android:scheme="package" /> 55 </intent-filter> 56 </receiver> 57 --> 58 </application> 59 </manifest> 60