summaryrefslogtreecommitdiff
path: root/packages/PrintSpooler/AndroidManifest.xml
blob: 1e6954e40d400b4f2dd2e8737540affb04a53337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
 * Copyright (c) 2013 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.printspooler"
        android:versionName="1"
        android:versionCode="1">

    <!-- Allows an application to call APIs that give it access to all print jobs
         on the device. Usually an app can access only the print jobs it created. -->
    <permission
        android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"
        android:label="@string/permlab_accessAllPrintJobs"
        android:description="@string/permdesc_accessAllPrintJobs"
        android:protectionLevel="signature" />

    <!-- May be required by the settings and add printer activities of a
         print service if the developer wants only trusted system code to
         be able to launch these activities. -->
    <permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"
        android:label="@string/permlab_startPrintServiceConfigActivity"
        android:description="@string/permdesc_startPrintServiceConfigActivity"
        android:protectionLevel="signature" />

    <uses-permission android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"/>

    <uses-sdk android:minSdkVersion="18" android:targetSdkVersion="18"/>

    <application
            android:allowClearUserData="true"
            android:label="@string/app_label"
            android:allowBackup= "false"
            android:supportsRtl="true">

        <service
            android:name=".PrintSpoolerService"
            android:exported="true"
            android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE">
        </service>

        <activity
            android:name=".PrintJobConfigActivity"
            android:configChanges="orientation|screenSize"
            android:exported="false"
            android:theme="@style/PrintJobConfigActivityTheme">
        </activity>

        <activity
            android:name=".SelectPrinterActivity"
            android:label="@string/all_printers_label"
            android:theme="@style/SelectPrinterActivityTheme"
            android:exported="false">
        </activity>

        <receiver
            android:name=".NotificationController$NotificationBroadcastReceiver"
            android:exported="false" >
        </receiver>

    </application>

</manifest>