| <?xml version="1.0" encoding="utf-8"?> |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.android.packageinstaller"> |
| |
| <original-package android:name="com.android.packageinstaller" /> |
| |
| <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> |
| <uses-permission android:name="android.permission.DELETE_PACKAGES" /> |
| <uses-permission android:name="android.permission.CLEAR_APP_CACHE" /> |
| <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" /> |
| <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| <application android:label="@string/app_name" |
| android:allowBackup="false" |
| android:theme="@android:style/Theme.DeviceDefault.DialogWhenLarge.NoActionBar" |
| android:supportsRtl="true"> |
| <activity android:name=".PackageInstallerActivity" |
| android:configChanges="orientation|keyboardHidden|screenSize" |
| android:excludeFromRecents="true"> |
| <intent-filter> |
| <action android:name="android.intent.action.VIEW" /> |
| <action android:name="android.intent.action.INSTALL_PACKAGE" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:scheme="file" /> |
| <data android:mimeType="application/vnd.android.package-archive" /> |
| </intent-filter> |
| <intent-filter> |
| <action android:name="android.intent.action.INSTALL_PACKAGE" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:scheme="file" /> |
| <data android:scheme="package" /> |
| </intent-filter> |
| </activity> |
| <activity android:name=".InstallAppProgress" |
| android:configChanges="orientation|keyboardHidden|screenSize"> |
| </activity> |
| <activity android:name=".UninstallerActivity" |
| android:configChanges="orientation|keyboardHidden|screenSize" |
| android:excludeFromRecents="true" |
| android:theme="@android:style/Theme.DeviceDefault.Dialog.NoActionBar"> |
| <intent-filter> |
| <action android:name="android.intent.action.DELETE" /> |
| <action android:name="android.intent.action.UNINSTALL_PACKAGE" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| <data android:scheme="package" /> |
| </intent-filter> |
| </activity> |
| <activity android:name=".UninstallAppProgress" |
| android:configChanges="orientation|keyboardHidden|screenSize"> |
| </activity> |
| <!-- |
| <receiver android:name=".RemoveReceiver"> |
| <intent-filter> |
| <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| <data android:scheme="package" /> |
| </intent-filter> |
| </receiver> |
| --> |
| </application> |
| </manifest> |