blob: f2ea51e7c0ac4556f274530c3af448e08b32f105 [file] [log] [blame]
Daniel Nishi09fa1382016-05-31 15:20:42 -07001<?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"/>
Daniel Nishi73511b72016-06-14 13:21:58 -070026 <uses-permission android:name="android.permission.MANAGE_USERS"/>
Daniel Nishiaff68012016-06-10 13:20:03 -070027 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Daniel Nishi39063f12016-06-29 09:46:09 -070028 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
Daniel Nishi44c884c2016-06-29 13:15:53 -070029 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
Jeff Sharkey490e30a2018-01-05 17:15:06 -070030 <uses-permission android:name="android.permission.USE_RESERVED_DISK"/>
Daniel Nishi09fa1382016-05-31 15:20:42 -070031
32 <uses-sdk android:minSdkVersion="24" />
33
34 <application android:label="@string/app_name"
Daniel Nishi7aab5232016-07-13 12:03:33 -070035 android:icon="@mipmap/ic_storage_manager_48px"
Daniel Nishi09fa1382016-05-31 15:20:42 -070036 android:theme="@style/StorageManager"
Daniel Nishi5e2460b2016-06-08 13:31:22 -070037 android:allowBackup="false"
38 android:supportsRtl="true">
Paul Duffinfb028ac2017-07-24 15:46:40 +010039 <uses-library android:name="org.apache.http.legacy" />
Daniel Nishi09fa1382016-05-31 15:20:42 -070040 <!-- Initial Page -->
Salvador Martineza077e8d2017-03-28 11:00:16 -070041 <activity android:name=".deletionhelper.DeletionHelperActivity"
Daniel Nishi09fa1382016-05-31 15:20:42 -070042 android:label="@string/deletion_helper_title"
43 android:launchMode="singleTask">
44 <intent-filter>
Daniel Nishi34eca232016-06-21 16:17:49 -070045 <action android:name="android.os.storage.action.MANAGE_STORAGE" />
Daniel Nishi09fa1382016-05-31 15:20:42 -070046 <category android:name="android.intent.category.DEFAULT" />
47 </intent-filter>
48 </activity>
Daniel Nishic7b50b82016-06-02 15:51:11 -070049
Daniel Nishi188e1212016-09-16 12:37:24 -070050 <!-- Warning for activating the storage manager. -->
51 <activity android:name=".automatic.WarningDialogActivity"
52 android:excludeFromRecents="true"
53 android:label=""
54 android:noHistory="true"
55 android:taskAffinity=".WarningDialogActivity"
56 android:theme="@style/TransparentDialog">
57 </activity>
58
Daniel Nishic7b50b82016-06-02 15:51:11 -070059 <!-- Automatic storage management tasks. -->
60 <service
61 android:name=".automatic.AutomaticStorageManagementJobService"
62 android:label="@string/automatic_storage_manager_service_label"
63 android:permission="android.permission.BIND_JOB_SERVICE"
64 android:enabled="@bool/enable_automatic_storage_management"
65 android:exported="false"/>
66
67 <receiver android:name=".automatic.AutomaticStorageBroadcastReceiver"
68 android:enabled="@bool/enable_automatic_storage_management">
69 <intent-filter>
70 <action android:name="android.intent.action.BOOT_COMPLETED" />
71 </intent-filter>
72 </receiver>
73
Daniel Nishi150fe992016-06-20 10:39:23 -070074 <receiver android:name=".automatic.NotificationController"
75 android:exported="false">
76 <intent-filter>
77 <action android:name="com.android.storagemanager.automatic.DISMISS" />
78 <action android:name="com.android.storagemanager.automatic.ACTIVATE" />
79 <action android:name="com.android.storagemanager.automatic.NO_THANKS" />
Daniel Nishi5a235492016-08-17 14:46:12 -070080 <action android:name="com.android.storagemanager.automatic.SHOW_NOTIFICATION" />
Daniel Nishi73cc93f2016-07-06 10:24:04 -070081 <action android:name="com.android.storagemanager.automatic.DEBUG_SHOW_NOTIFICATION" />
Daniel Nishi120c88c2016-09-20 11:09:57 -070082 <action android:name="com.android.storagemanager.automatic.SHOW_SETTINGS" />
Daniel Nishi150fe992016-06-20 10:39:23 -070083 </intent-filter>
84 </receiver>
85
Daniel Nishi09fa1382016-05-31 15:20:42 -070086 </application>
87
88</manifest>