Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | * Copyright (c) 2013 Google Inc. |
| 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | --> |
| 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Philip P. Moltmann | c43639c | 2015-12-18 13:58:40 -0800 | [diff] [blame] | 20 | package="com.android.printspooler"> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 21 | |
Svetoslav Ganov | d26d489 | 2013-08-28 14:37:54 -0700 | [diff] [blame] | 22 | <!-- Allows an application to call APIs that give it access to all print jobs |
Svetoslav Ganov | 860f8a6 | 2013-09-14 00:59:03 -0700 | [diff] [blame] | 23 | on the device. Usually an app can access only the print jobs it created. --> |
Svetoslav Ganov | d26d489 | 2013-08-28 14:37:54 -0700 | [diff] [blame] | 24 | <permission |
| 25 | android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS" |
Svetoslav Ganov | d26d489 | 2013-08-28 14:37:54 -0700 | [diff] [blame] | 26 | android:protectionLevel="signature" /> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 27 | |
Svetoslav Ganov | 860f8a6 | 2013-09-14 00:59:03 -0700 | [diff] [blame] | 28 | <!-- May be required by the settings and add printer activities of a |
| 29 | print service if the developer wants only trusted system code to |
| 30 | be able to launch these activities. --> |
| 31 | <permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY" |
Svetoslav Ganov | 860f8a6 | 2013-09-14 00:59:03 -0700 | [diff] [blame] | 32 | android:protectionLevel="signature" /> |
| 33 | |
Svetoslav Ganov | d26d489 | 2013-08-28 14:37:54 -0700 | [diff] [blame] | 34 | <uses-permission android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"/> |
Svetoslav Ganov | 8c43376 | 2013-08-02 14:22:19 -0700 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
Svetoslav Ganov | 860f8a6 | 2013-09-14 00:59:03 -0700 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"/> |
Philip P. Moltmann | 9896326 | 2015-12-16 16:57:05 -0800 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> |
| 38 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> |
Philip P. Moltmann | 6870033 | 2017-06-19 10:55:09 -0700 | [diff] [blame] | 39 | <uses-permission android:name="android.permission.READ_PRINT_SERVICES" /> |
| 40 | <uses-permission android:name="android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS" /> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 41 | |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 42 | <application |
Svetoslav | a798c0a | 2014-05-15 10:47:19 -0700 | [diff] [blame] | 43 | android:allowClearUserData="true" |
| 44 | android:label="@string/app_label" |
| 45 | android:allowBackup= "false" |
Svetoslav | fed7173 | 2014-08-20 13:26:54 -0700 | [diff] [blame] | 46 | android:supportsRtl="true"> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 47 | |
| 48 | <service |
Svetoslav | a798c0a | 2014-05-15 10:47:19 -0700 | [diff] [blame] | 49 | android:name=".model.PrintSpoolerService" |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 50 | android:exported="true" |
| 51 | android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE"> |
| 52 | </service> |
| 53 | |
Svet Ganov | 13f542ca | 2014-08-29 15:35:49 -0700 | [diff] [blame] | 54 | <service |
Svetoslav | 62ce332 | 2014-09-04 21:17:17 -0700 | [diff] [blame] | 55 | android:name=".renderer.PdfManipulationService" |
Svetoslav | 2fb64a5 | 2014-09-12 13:55:30 -0700 | [diff] [blame] | 56 | android:isolatedProcess="true" |
| 57 | android:process=":renderer"> |
Svet Ganov | 13f542ca | 2014-08-29 15:35:49 -0700 | [diff] [blame] | 58 | </service> |
| 59 | |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 60 | <activity |
Svetoslav | a798c0a | 2014-05-15 10:47:19 -0700 | [diff] [blame] | 61 | android:name=".ui.PrintActivity" |
Philip P. Moltmann | 172d840 | 2016-04-29 15:40:23 -0700 | [diff] [blame] | 62 | android:configChanges="mnc|mnc|touchscreen|navigation|screenLayout|screenSize|smallestScreenSize|orientation|locale|keyboard|keyboardHidden|fontScale|uiMode|layoutDirection|density" |
Svetoslav | 7bfbbcb | 2013-10-10 13:36:23 -0700 | [diff] [blame] | 63 | android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE" |
Philip P. Moltmann | 66c9659 | 2016-02-24 11:32:43 -0800 | [diff] [blame] | 64 | android:theme="@style/Theme.PrintActivity"> |
Svetoslav | 7bfbbcb | 2013-10-10 13:36:23 -0700 | [diff] [blame] | 65 | <intent-filter> |
Svetoslav | 54adee8 | 2013-10-11 11:28:30 -0700 | [diff] [blame] | 66 | <action android:name="android.print.PRINT_DIALOG" /> |
Svetoslav | 7bfbbcb | 2013-10-10 13:36:23 -0700 | [diff] [blame] | 67 | <category android:name="android.intent.category.DEFAULT" /> |
| 68 | <data android:scheme="printjob" android:pathPattern="*" /> |
| 69 | </intent-filter> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 70 | </activity> |
| 71 | |
Svetoslav | 66160bb | 2013-08-12 22:36:50 -0700 | [diff] [blame] | 72 | <activity |
Svetoslav | a798c0a | 2014-05-15 10:47:19 -0700 | [diff] [blame] | 73 | android:name=".ui.SelectPrinterActivity" |
Svetoslav | 269403b | 2013-08-14 17:31:04 -0700 | [diff] [blame] | 74 | android:label="@string/all_printers_label" |
Philip P. Moltmann | 66c9659 | 2016-02-24 11:32:43 -0800 | [diff] [blame] | 75 | android:theme="@style/Theme.SelectPrinterActivity" |
Philip P. Moltmann | 3af7f82 | 2016-10-26 09:15:26 -0700 | [diff] [blame] | 76 | android:parentActivityName=".ui.PrintActivity" |
Philip P. Moltmann | 66c9659 | 2016-02-24 11:32:43 -0800 | [diff] [blame] | 77 | android:exported="false"> |
| 78 | </activity> |
| 79 | |
| 80 | <activity |
| 81 | android:name=".ui.AddPrinterActivity" |
| 82 | android:label="@string/print_add_printer" |
| 83 | android:theme="@style/Theme.AddPrinterActivity" |
Philip P. Moltmann | 3af7f82 | 2016-10-26 09:15:26 -0700 | [diff] [blame] | 84 | android:parentActivityName=".ui.SelectPrinterActivity" |
Svetoslav | 269403b | 2013-08-14 17:31:04 -0700 | [diff] [blame] | 85 | android:exported="false"> |
Svetoslav | 66160bb | 2013-08-12 22:36:50 -0700 | [diff] [blame] | 86 | </activity> |
| 87 | |
Svetoslav Ganov | 8c43376 | 2013-08-02 14:22:19 -0700 | [diff] [blame] | 88 | <receiver |
Svet Ganov | a4ab7808 | 2014-07-14 08:40:12 -0700 | [diff] [blame] | 89 | android:name=".model.NotificationController$NotificationBroadcastReceiver" |
Svetoslav Ganov | 8c43376 | 2013-08-02 14:22:19 -0700 | [diff] [blame] | 90 | android:exported="false" > |
| 91 | </receiver> |
| 92 | |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 93 | </application> |
| 94 | |
| 95 | </manifest> |