Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 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" |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 21 | android:versionName="1" |
Svetoslav Ganov | d26d489 | 2013-08-28 14:37:54 -0700 | [diff] [blame] | 22 | android:versionCode="1"> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 23 | |
Svetoslav Ganov | d26d489 | 2013-08-28 14:37:54 -0700 | [diff] [blame] | 24 | <!-- Allows an application to call APIs that give it access to all print jobs |
Svetoslav Ganov | 860f8a6 | 2013-09-14 00:59:03 -0700 | [diff] [blame^] | 25 | on the device. Usually an app can access only the print jobs it created. --> |
Svetoslav Ganov | d26d489 | 2013-08-28 14:37:54 -0700 | [diff] [blame] | 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" /> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 31 | |
Svetoslav Ganov | 860f8a6 | 2013-09-14 00:59:03 -0700 | [diff] [blame^] | 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 | |
Svetoslav Ganov | d26d489 | 2013-08-28 14:37:54 -0700 | [diff] [blame] | 40 | <uses-permission android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"/> |
Svetoslav Ganov | 8c43376 | 2013-08-02 14:22:19 -0700 | [diff] [blame] | 41 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
Svetoslav Ganov | 860f8a6 | 2013-09-14 00:59:03 -0700 | [diff] [blame^] | 42 | <uses-permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"/> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 43 | |
Svetoslav Ganov | d26d489 | 2013-08-28 14:37:54 -0700 | [diff] [blame] | 44 | <uses-sdk android:minSdkVersion="18" android:targetSdkVersion="18"/> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 45 | |
| 46 | <application |
| 47 | android:allowClearUserData="false" |
| 48 | android:label="@string/app_label" |
Svetoslav Ganov | 44720af | 2013-08-20 16:32:53 -0700 | [diff] [blame] | 49 | android:allowBackup= "false" |
| 50 | android:supportsRtl="true"> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 51 | |
| 52 | <service |
| 53 | android:name=".PrintSpoolerService" |
| 54 | android:exported="true" |
| 55 | android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE"> |
| 56 | </service> |
| 57 | |
| 58 | <activity |
| 59 | android:name=".PrintJobConfigActivity" |
Svetoslav Ganov | 44720af | 2013-08-20 16:32:53 -0700 | [diff] [blame] | 60 | android:configChanges="orientation|screenSize" |
Svetoslav Ganov | 32c5eb3 | 2013-08-06 23:49:25 -0700 | [diff] [blame] | 61 | android:exported="false" |
| 62 | android:theme="@style/PrintJobConfigActivityTheme"> |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 63 | </activity> |
| 64 | |
Svetoslav | 66160bb | 2013-08-12 22:36:50 -0700 | [diff] [blame] | 65 | <activity |
Svetoslav | 269403b | 2013-08-14 17:31:04 -0700 | [diff] [blame] | 66 | android:name=".SelectPrinterActivity" |
| 67 | android:label="@string/all_printers_label" |
| 68 | android:theme="@style/SelectPrinterActivityTheme" |
| 69 | android:exported="false"> |
Svetoslav | 66160bb | 2013-08-12 22:36:50 -0700 | [diff] [blame] | 70 | </activity> |
| 71 | |
Svetoslav Ganov | 8c43376 | 2013-08-02 14:22:19 -0700 | [diff] [blame] | 72 | <receiver |
| 73 | android:name=".NotificationController$NotificationBroadcastReceiver" |
| 74 | android:exported="false" > |
| 75 | </receiver> |
| 76 | |
Svetoslav Ganov | 4b9a4d1 | 2013-06-11 15:20:06 -0700 | [diff] [blame] | 77 | </application> |
| 78 | |
| 79 | </manifest> |