blob: af9d25196bec55f4e89622bd1d7d3c48e91bdfe3 [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"
26 android:label="@string/permlab_accessAllPrintJobs"
27 android:description="@string/permdesc_accessAllPrintJobs"
28 android:protectionLevel="signature" />
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070029
Svetoslav Ganov860f8a62013-09-14 00:59:03 -070030 <!-- May be required by the settings and add printer activities of a
31 print service if the developer wants only trusted system code to
32 be able to launch these activities. -->
33 <permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"
34 android:label="@string/permlab_startPrintServiceConfigActivity"
35 android:description="@string/permdesc_startPrintServiceConfigActivity"
36 android:protectionLevel="signature" />
37
Svetoslav Ganovd26d4892013-08-28 14:37:54 -070038 <uses-permission android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"/>
Svetoslav Ganov8c433762013-08-02 14:22:19 -070039 <uses-permission android:name="android.permission.WAKE_LOCK"/>
Svetoslav Ganov860f8a62013-09-14 00:59:03 -070040 <uses-permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"/>
Philip P. Moltmann98963262015-12-16 16:57:05 -080041 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
42 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070043
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070044 <application
Svetoslava798c0a2014-05-15 10:47:19 -070045 android:allowClearUserData="true"
46 android:label="@string/app_label"
47 android:allowBackup= "false"
Svetoslavfed71732014-08-20 13:26:54 -070048 android:supportsRtl="true">
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070049
50 <service
Svetoslava798c0a2014-05-15 10:47:19 -070051 android:name=".model.PrintSpoolerService"
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070052 android:exported="true"
53 android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE">
54 </service>
55
Svet Ganov13f542ca2014-08-29 15:35:49 -070056 <service
Svetoslav62ce3322014-09-04 21:17:17 -070057 android:name=".renderer.PdfManipulationService"
Svetoslav2fb64a52014-09-12 13:55:30 -070058 android:isolatedProcess="true"
59 android:process=":renderer">
Svet Ganov13f542ca2014-08-29 15:35:49 -070060 </service>
61
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070062 <activity
Svetoslava798c0a2014-05-15 10:47:19 -070063 android:name=".ui.PrintActivity"
Philip P. Moltmannadac7f32015-11-18 16:23:03 -080064 android:configChanges="screenSize|smallestScreenSize|orientation"
Svetoslav7bfbbcb2013-10-10 13:36:23 -070065 android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE"
Svet Ganov525a66b2014-06-14 22:29:00 -070066 android:theme="@style/PrintActivity">
Svetoslav7bfbbcb2013-10-10 13:36:23 -070067 <intent-filter>
Svetoslav54adee82013-10-11 11:28:30 -070068 <action android:name="android.print.PRINT_DIALOG" />
Svetoslav7bfbbcb2013-10-10 13:36:23 -070069 <category android:name="android.intent.category.DEFAULT" />
70 <data android:scheme="printjob" android:pathPattern="*" />
71 </intent-filter>
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070072 </activity>
73
Svetoslav66160bb2013-08-12 22:36:50 -070074 <activity
Svetoslava798c0a2014-05-15 10:47:19 -070075 android:name=".ui.SelectPrinterActivity"
Svetoslav269403b2013-08-14 17:31:04 -070076 android:label="@string/all_printers_label"
Svetoslav283203e2014-07-15 13:56:29 -070077 android:theme="@android:style/Theme.Material.Settings"
Svetoslav269403b2013-08-14 17:31:04 -070078 android:exported="false">
Svetoslav66160bb2013-08-12 22:36:50 -070079 </activity>
80
Svetoslav Ganov8c433762013-08-02 14:22:19 -070081 <receiver
Svet Ganova4ab78082014-07-14 08:40:12 -070082 android:name=".model.NotificationController$NotificationBroadcastReceiver"
Svetoslav Ganov8c433762013-08-02 14:22:19 -070083 android:exported="false" >
84 </receiver>
85
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070086 </application>
87
88</manifest>