blob: e1d0aece109a5ab243edd5a13ee4b8d4ab698eec [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"
20 package="com.android.printspooler"
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070021 android:versionName="1"
Svetoslav Ganovd26d4892013-08-28 14:37:54 -070022 android:versionCode="1">
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070023
Svetoslav Ganovd26d4892013-08-28 14:37:54 -070024 <!-- Allows an application to call APIs that give it access to all print jobs
Svetoslav Ganov860f8a62013-09-14 00:59:03 -070025 on the device. Usually an app can access only the print jobs it created. -->
Svetoslav Ganovd26d4892013-08-28 14:37:54 -070026 <permission
27 android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"
28 android:label="@string/permlab_accessAllPrintJobs"
29 android:description="@string/permdesc_accessAllPrintJobs"
30 android:protectionLevel="signature" />
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070031
Svetoslav Ganov860f8a62013-09-14 00:59:03 -070032 <!-- May be required by the settings and add printer activities of a
33 print service if the developer wants only trusted system code to
34 be able to launch these activities. -->
35 <permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"
36 android:label="@string/permlab_startPrintServiceConfigActivity"
37 android:description="@string/permdesc_startPrintServiceConfigActivity"
38 android:protectionLevel="signature" />
39
Svetoslav Ganovd26d4892013-08-28 14:37:54 -070040 <uses-permission android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"/>
Svetoslav Ganov8c433762013-08-02 14:22:19 -070041 <uses-permission android:name="android.permission.WAKE_LOCK"/>
Svetoslav Ganov860f8a62013-09-14 00:59:03 -070042 <uses-permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"/>
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070043
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070044 <application
Svetoslav2fbd2a72013-09-16 17:53:51 -070045 android:allowClearUserData="true"
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070046 android:label="@string/app_label"
Svetoslav Ganov44720af2013-08-20 16:32:53 -070047 android:allowBackup= "false"
Svetoslav54adee82013-10-11 11:28:30 -070048 android:supportsRtl="true"
49 android:icon="@*android:drawable/ic_print">
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070050
51 <service
52 android:name=".PrintSpoolerService"
53 android:exported="true"
54 android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE">
55 </service>
56
57 <activity
58 android:name=".PrintJobConfigActivity"
Svetoslav Ganov44720af2013-08-20 16:32:53 -070059 android:configChanges="orientation|screenSize"
Svetoslav7bfbbcb2013-10-10 13:36:23 -070060 android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE"
Svetoslav Ganov32c5eb32013-08-06 23:49:25 -070061 android:theme="@style/PrintJobConfigActivityTheme">
Svetoslav7bfbbcb2013-10-10 13:36:23 -070062 <intent-filter>
Svetoslav54adee82013-10-11 11:28:30 -070063 <action android:name="android.print.PRINT_DIALOG" />
Svetoslav7bfbbcb2013-10-10 13:36:23 -070064 <category android:name="android.intent.category.DEFAULT" />
65 <data android:scheme="printjob" android:pathPattern="*" />
66 </intent-filter>
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070067 </activity>
68
Svetoslav66160bb2013-08-12 22:36:50 -070069 <activity
Svetoslav269403b2013-08-14 17:31:04 -070070 android:name=".SelectPrinterActivity"
71 android:label="@string/all_printers_label"
72 android:theme="@style/SelectPrinterActivityTheme"
73 android:exported="false">
Svetoslav66160bb2013-08-12 22:36:50 -070074 </activity>
75
Svetoslav Ganov8c433762013-08-02 14:22:19 -070076 <receiver
77 android:name=".NotificationController$NotificationBroadcastReceiver"
78 android:exported="false" >
79 </receiver>
80
Svetoslav Ganov4b9a4d12013-06-11 15:20:06 -070081 </application>
82
83</manifest>