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.MANAGE_EXTERNAL_STORAGE"/> 28 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> 29 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> 30 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 31 <uses-permission android:name="android.permission.USE_RESERVED_DISK"/> 32 33 <uses-sdk android:minSdkVersion="24" /> 34 35 <application android:label="@string/app_name" 36 android:icon="@mipmap/ic_storage_manager_48px" 37 android:theme="@style/StorageManager" 38 android:allowBackup="false" 39 android:supportsRtl="true"> 40 <uses-library android:name="org.apache.http.legacy" /> 41 <!-- Initial Page --> 42 <activity android:name=".deletionhelper.DeletionHelperActivity" 43 android:label="@string/deletion_helper_title" 44 android:launchMode="singleTask"> 45 <intent-filter> 46 <action android:name="android.os.storage.action.MANAGE_STORAGE" /> 47 <category android:name="android.intent.category.DEFAULT" /> 48 </intent-filter> 49 </activity> 50 51 <!-- Warning for activating the storage manager. --> 52 <activity android:name=".automatic.WarningDialogActivity" 53 android:excludeFromRecents="true" 54 android:label="" 55 android:noHistory="true" 56 android:taskAffinity=".WarningDialogActivity" 57 android:theme="@style/TransparentDialog"> 58 </activity> 59 60 <!-- Automatic storage management tasks. --> 61 <service 62 android:name=".automatic.AutomaticStorageManagementJobService" 63 android:label="@string/automatic_storage_manager_service_label" 64 android:permission="android.permission.BIND_JOB_SERVICE" 65 android:enabled="@bool/enable_automatic_storage_management" 66 android:exported="false"/> 67 68 <receiver android:name=".automatic.AutomaticStorageBroadcastReceiver" 69 android:enabled="@bool/enable_automatic_storage_management"> 70 <intent-filter> 71 <action android:name="android.intent.action.BOOT_COMPLETED" /> 72 </intent-filter> 73 </receiver> 74 75 <receiver android:name=".automatic.NotificationController" 76 android:exported="false"> 77 <intent-filter> 78 <action android:name="com.android.storagemanager.automatic.DISMISS" /> 79 <action android:name="com.android.storagemanager.automatic.ACTIVATE" /> 80 <action android:name="com.android.storagemanager.automatic.NO_THANKS" /> 81 <action android:name="com.android.storagemanager.automatic.SHOW_NOTIFICATION" /> 82 <action android:name="com.android.storagemanager.automatic.DEBUG_SHOW_NOTIFICATION" /> 83 <action android:name="com.android.storagemanager.automatic.SHOW_SETTINGS" /> 84 </intent-filter> 85 </receiver> 86 87 </application> 88 89</manifest> 90