Daniel Nishi | 09fa138 | 2016-05-31 15:20:42 -0700 | [diff] [blame] | 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"/> |
Daniel Nishi | 73511b7 | 2016-06-14 13:21:58 -0700 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.MANAGE_USERS"/> |
Daniel Nishi | aff6801 | 2016-06-10 13:20:03 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
Daniel Nishi | 39063f1 | 2016-06-29 09:46:09 -0700 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> |
Daniel Nishi | 44c884c | 2016-06-29 13:15:53 -0700 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
Jeff Sharkey | 490e30a | 2018-01-05 17:15:06 -0700 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.USE_RESERVED_DISK"/> |
Daniel Nishi | 09fa138 | 2016-05-31 15:20:42 -0700 | [diff] [blame] | 31 | |
| 32 | <uses-sdk android:minSdkVersion="24" /> |
| 33 | |
| 34 | <application android:label="@string/app_name" |
Daniel Nishi | 7aab523 | 2016-07-13 12:03:33 -0700 | [diff] [blame] | 35 | android:icon="@mipmap/ic_storage_manager_48px" |
Daniel Nishi | 09fa138 | 2016-05-31 15:20:42 -0700 | [diff] [blame] | 36 | android:theme="@style/StorageManager" |
Daniel Nishi | 5e2460b | 2016-06-08 13:31:22 -0700 | [diff] [blame] | 37 | android:allowBackup="false" |
| 38 | android:supportsRtl="true"> |
Paul Duffin | fb028ac | 2017-07-24 15:46:40 +0100 | [diff] [blame] | 39 | <uses-library android:name="org.apache.http.legacy" /> |
Daniel Nishi | 09fa138 | 2016-05-31 15:20:42 -0700 | [diff] [blame] | 40 | <!-- Initial Page --> |
Salvador Martinez | a077e8d | 2017-03-28 11:00:16 -0700 | [diff] [blame] | 41 | <activity android:name=".deletionhelper.DeletionHelperActivity" |
Daniel Nishi | 09fa138 | 2016-05-31 15:20:42 -0700 | [diff] [blame] | 42 | android:label="@string/deletion_helper_title" |
| 43 | android:launchMode="singleTask"> |
| 44 | <intent-filter> |
Daniel Nishi | 34eca23 | 2016-06-21 16:17:49 -0700 | [diff] [blame] | 45 | <action android:name="android.os.storage.action.MANAGE_STORAGE" /> |
Daniel Nishi | 09fa138 | 2016-05-31 15:20:42 -0700 | [diff] [blame] | 46 | <category android:name="android.intent.category.DEFAULT" /> |
| 47 | </intent-filter> |
| 48 | </activity> |
Daniel Nishi | c7b50b8 | 2016-06-02 15:51:11 -0700 | [diff] [blame] | 49 | |
Daniel Nishi | 188e121 | 2016-09-16 12:37:24 -0700 | [diff] [blame] | 50 | <!-- 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 Nishi | c7b50b8 | 2016-06-02 15:51:11 -0700 | [diff] [blame] | 59 | <!-- 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 Nishi | 150fe99 | 2016-06-20 10:39:23 -0700 | [diff] [blame] | 74 | <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 Nishi | 5a23549 | 2016-08-17 14:46:12 -0700 | [diff] [blame] | 80 | <action android:name="com.android.storagemanager.automatic.SHOW_NOTIFICATION" /> |
Daniel Nishi | 73cc93f | 2016-07-06 10:24:04 -0700 | [diff] [blame] | 81 | <action android:name="com.android.storagemanager.automatic.DEBUG_SHOW_NOTIFICATION" /> |
Daniel Nishi | 120c88c | 2016-09-20 11:09:57 -0700 | [diff] [blame] | 82 | <action android:name="com.android.storagemanager.automatic.SHOW_SETTINGS" /> |
Daniel Nishi | 150fe99 | 2016-06-20 10:39:23 -0700 | [diff] [blame] | 83 | </intent-filter> |
| 84 | </receiver> |
| 85 | |
Daniel Nishi | 09fa138 | 2016-05-31 15:20:42 -0700 | [diff] [blame] | 86 | </application> |
| 87 | |
| 88 | </manifest> |