Home | History | Annotate | Download | only in PackageInstaller
      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     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
     13     <uses-permission android:name="android.permission.MANAGE_USERS" />
     14     <uses-permission android:name="android.permission.GRANT_REVOKE_PERMISSIONS" />
     15     <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
     16     <uses-permission android:name="android.permission.READ_INSTALL_SESSIONS" />
     17 
     18     <application android:label="@string/app_name"
     19             android:allowBackup="false"
     20             android:theme="@style/Theme.DialogWhenLarge"
     21             android:supportsRtl="true">
     22 
     23         <activity android:name=".PackageInstallerActivity"
     24                 android:configChanges="orientation|keyboardHidden|screenSize"
     25                 android:excludeFromRecents="true">
     26             <intent-filter>
     27                 <action android:name="android.intent.action.VIEW" />
     28                 <action android:name="android.intent.action.INSTALL_PACKAGE" />
     29                 <category android:name="android.intent.category.DEFAULT" />
     30                 <data android:scheme="file" />
     31                 <data android:mimeType="application/vnd.android.package-archive" />
     32             </intent-filter>
     33             <intent-filter>
     34                 <action android:name="android.intent.action.INSTALL_PACKAGE" />
     35                 <category android:name="android.intent.category.DEFAULT" />
     36                 <data android:scheme="file" />
     37                 <data android:scheme="package" />
     38             </intent-filter>
     39             <intent-filter>
     40                 <action android:name="android.content.pm.action.CONFIRM_PERMISSIONS" />
     41                 <category android:name="android.intent.category.DEFAULT" />
     42             </intent-filter>
     43         </activity>
     44 
     45         <activity android:name=".InstallAppProgress"
     46                 android:configChanges="orientation|keyboardHidden|screenSize"
     47                 android:exported="false" />
     48 
     49         <activity android:name=".UninstallerActivity"
     50                 android:configChanges="orientation|keyboardHidden|screenSize"
     51                 android:excludeFromRecents="true"
     52                 android:theme="@style/Theme.AlertDialogActivity">
     53             <intent-filter>
     54                 <action android:name="android.intent.action.DELETE" />
     55                 <action android:name="android.intent.action.UNINSTALL_PACKAGE" />
     56                 <category android:name="android.intent.category.DEFAULT" />
     57                 <data android:scheme="package" />
     58             </intent-filter>
     59         </activity>
     60 
     61         <activity android:name=".UninstallAppProgress"
     62                 android:configChanges="orientation|keyboardHidden|screenSize"
     63                 android:exported="false" />
     64 
     65         <activity android:name=".GrantActivity"
     66                 android:configChanges="orientation|keyboardHidden|screenSize"
     67                 android:excludeFromRecents="true"
     68                 android:theme="@android:style/Theme.DeviceDefault.Dialog.NoActionBar">
     69             <intent-filter>
     70                 <action android:name="android.content.pm.action.REQUEST_PERMISSION" />
     71                 <category android:name="android.intent.category.DEFAULT" />
     72             </intent-filter>
     73         </activity>
     74 
     75     </application>
     76 </manifest> 
     77