OSDN Git Service

am 813e2ac3: (-s ours) am bda28629: am 1e344694: am 0b487604: (-s ours) am d53a9fcb...
[android-x86/frameworks-base.git] / packages / PrintSpooler / AndroidManifest.xml
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"
20         package="com.android.printspooler"
21         android:versionName="1"
22         android:versionCode="1">
23
24     <!-- Allows an application to call APIs that give it access to all print jobs
25          on the device. Usually an app can access only the print jobs it created. -->
26     <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" />
31
32     <!-- 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
40     <uses-permission android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"/>
41     <uses-permission android:name="android.permission.WAKE_LOCK"/>
42     <uses-permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"/>
43
44     <application
45             android:allowClearUserData="true"
46             android:label="@string/app_label"
47             android:allowBackup= "false"
48             android:supportsRtl="true"
49             android:icon="@*android:drawable/ic_print">
50
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"
59             android:configChanges="orientation|screenSize"
60             android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE"
61             android:theme="@style/PrintJobConfigActivityTheme">
62             <intent-filter>
63                 <action android:name="android.print.PRINT_DIALOG" />
64                 <category android:name="android.intent.category.DEFAULT" />
65                 <data android:scheme="printjob" android:pathPattern="*" />
66             </intent-filter>
67         </activity>
68
69         <activity
70             android:name=".SelectPrinterActivity"
71             android:label="@string/all_printers_label"
72             android:theme="@style/SelectPrinterActivityTheme"
73             android:exported="false">
74         </activity>
75
76         <receiver
77             android:name=".NotificationController$NotificationBroadcastReceiver"
78             android:exported="false" >
79         </receiver>
80
81     </application>
82
83 </manifest>