blob: 91e23ddeaedffe86091d62b85eaa86c357575c60 [file] [log] [blame]
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -07001<?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. Moltmannc43639c2015-12-18 13:58:40 -080020 package="com.android.printspooler">
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070021
Svetoslav Ganovd26d4892013-08-28 14:37:54 -070022 <!-- Allows an application to call APIs that give it access to all print jobs
Svetoslav Ganov860f8a62013-09-14 00:59:03 -070023 on the device. Usually an app can access only the print jobs it created. -->
Svetoslav Ganovd26d4892013-08-28 14:37:54 -070024 <permission
25 android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"
Svetoslav Ganovd26d4892013-08-28 14:37:54 -070026 android:protectionLevel="signature" />
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070027
Svetoslav Ganov860f8a62013-09-14 00:59:03 -070028 <!-- 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 Ganov860f8a62013-09-14 00:59:03 -070032 android:protectionLevel="signature" />
33
Svetoslav Ganovd26d4892013-08-28 14:37:54 -070034 <uses-permission android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"/>
Svetoslav Ganov8c433762013-08-02 14:22:19 -070035 <uses-permission android:name="android.permission.WAKE_LOCK"/>
Svetoslav Ganov860f8a62013-09-14 00:59:03 -070036 <uses-permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"/>
Philip P. Moltmann98963262015-12-16 16:57:05 -080037 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
38 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
Philip P. Moltmann68700332017-06-19 10:55:09 -070039 <uses-permission android:name="android.permission.READ_PRINT_SERVICES" />
40 <uses-permission android:name="android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS" />
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070041
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070042 <application
Svetoslava798c0a2014-05-15 10:47:19 -070043 android:allowClearUserData="true"
44 android:label="@string/app_label"
45 android:allowBackup= "false"
Svetoslavfed71732014-08-20 13:26:54 -070046 android:supportsRtl="true">
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070047
48 <service
Svetoslava798c0a2014-05-15 10:47:19 -070049 android:name=".model.PrintSpoolerService"
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070050 android:exported="true"
51 android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE">
52 </service>
53
Svet Ganov13f542ca2014-08-29 15:35:49 -070054 <service
Svetoslav62ce3322014-09-04 21:17:17 -070055 android:name=".renderer.PdfManipulationService"
Svetoslav2fb64a52014-09-12 13:55:30 -070056 android:isolatedProcess="true"
57 android:process=":renderer">
Svet Ganov13f542ca2014-08-29 15:35:49 -070058 </service>
59
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070060 <activity
Svetoslava798c0a2014-05-15 10:47:19 -070061 android:name=".ui.PrintActivity"
Philip P. Moltmann172d8402016-04-29 15:40:23 -070062 android:configChanges="mnc|mnc|touchscreen|navigation|screenLayout|screenSize|smallestScreenSize|orientation|locale|keyboard|keyboardHidden|fontScale|uiMode|layoutDirection|density"
Svetoslav7bfbbcb2013-10-10 13:36:23 -070063 android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE"
Philip P. Moltmann66c96592016-02-24 11:32:43 -080064 android:theme="@style/Theme.PrintActivity">
Svetoslav7bfbbcb2013-10-10 13:36:23 -070065 <intent-filter>
Svetoslav54adee82013-10-11 11:28:30 -070066 <action android:name="android.print.PRINT_DIALOG" />
Svetoslav7bfbbcb2013-10-10 13:36:23 -070067 <category android:name="android.intent.category.DEFAULT" />
68 <data android:scheme="printjob" android:pathPattern="*" />
69 </intent-filter>
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070070 </activity>
71
Svetoslav66160bb2013-08-12 22:36:50 -070072 <activity
Svetoslava798c0a2014-05-15 10:47:19 -070073 android:name=".ui.SelectPrinterActivity"
Svetoslav269403b2013-08-14 17:31:04 -070074 android:label="@string/all_printers_label"
Philip P. Moltmann66c96592016-02-24 11:32:43 -080075 android:theme="@style/Theme.SelectPrinterActivity"
Philip P. Moltmann3af7f822016-10-26 09:15:26 -070076 android:parentActivityName=".ui.PrintActivity"
Philip P. Moltmann66c96592016-02-24 11:32:43 -080077 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. Moltmann3af7f822016-10-26 09:15:26 -070084 android:parentActivityName=".ui.SelectPrinterActivity"
Svetoslav269403b2013-08-14 17:31:04 -070085 android:exported="false">
Svetoslav66160bb2013-08-12 22:36:50 -070086 </activity>
87
Svetoslav Ganov8c433762013-08-02 14:22:19 -070088 <receiver
Svet Ganova4ab78082014-07-14 08:40:12 -070089 android:name=".model.NotificationController$NotificationBroadcastReceiver"
Svetoslav Ganov8c433762013-08-02 14:22:19 -070090 android:exported="false" >
91 </receiver>
92
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070093 </application>
94
95</manifest>