Home | History | Annotate | Download | only in StorageManager
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2016 The Android Open Source Project
      4 
      5      Licensed under the Apache License, Version 2.0 (the "License");
      6      you may not use this file except in compliance with the License.
      7      You may obtain a copy of the License at
      8 
      9           http://www.apache.org/licenses/LICENSE-2.0
     10 
     11      Unless required by applicable law or agreed to in writing, software
     12      distributed under the License is distributed on an "AS IS" BASIS,
     13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14      See the License for the specific language governing permissions and
     15      limitations under the License.
     16 -->
     17 
     18 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     19     package="com.android.storagemanager">
     20 
     21     <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
     22     <uses-permission android:name="android.permission.GET_PACKAGE_SIZE"/>
     23     <uses-permission android:name="android.permission.DELETE_PACKAGES"/>
     24     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
     25     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
     26     <uses-permission android:name="android.permission.MANAGE_USERS"/>
     27     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
     28     <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
     29     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
     30 
     31     <uses-sdk android:minSdkVersion="24" />
     32 
     33     <application android:label="@string/app_name"
     34         android:icon="@mipmap/ic_storage_manager_48px"
     35         android:theme="@style/StorageManager"
     36         android:allowBackup="false"
     37         android:supportsRtl="true">
     38         <!--  Initial Page -->
     39         <activity android:name="DeletionHelperActivity"
     40                   android:label="@string/deletion_helper_title"
     41                   android:launchMode="singleTask">
     42             <intent-filter>
     43                 <action android:name="android.os.storage.action.MANAGE_STORAGE" />
     44                 <category android:name="android.intent.category.DEFAULT" />
     45             </intent-filter>
     46         </activity>
     47 
     48         <!-- Automatic storage management tasks. -->
     49         <service
     50             android:name=".automatic.AutomaticStorageManagementJobService"
     51             android:label="@string/automatic_storage_manager_service_label"
     52             android:permission="android.permission.BIND_JOB_SERVICE"
     53             android:enabled="@bool/enable_automatic_storage_management"
     54             android:exported="false"/>
     55 
     56         <receiver android:name=".automatic.AutomaticStorageBroadcastReceiver"
     57                   android:enabled="@bool/enable_automatic_storage_management">
     58             <intent-filter>
     59                 <action android:name="android.intent.action.BOOT_COMPLETED" />
     60                 <!-- This is required on HTC devices to support their "quickboot" feature -->
     61                 <action android:name="android.intent.action.QUICKBOOT_POWERON" />
     62             </intent-filter>
     63         </receiver>
     64 
     65         <receiver android:name=".automatic.NotificationController"
     66             android:exported="false">
     67             <intent-filter>
     68                 <action android:name="com.android.storagemanager.automatic.DISMISS" />
     69                 <action android:name="com.android.storagemanager.automatic.ACTIVATE" />
     70                 <action android:name="com.android.storagemanager.automatic.NO_THANKS" />
     71                 <action android:name="com.android.storagemanager.automatic.DEBUG_SHOW_NOTIFICATION" />
     72             </intent-filter>
     73         </receiver>
     74 
     75     </application>
     76 
     77 </manifest>
     78