Mopria | 3bf6674 | 2016-11-29 15:32:41 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | <manifest package="com.android.bips" |
| 17 | xmlns:android="http://schemas.android.com/apk/res/android"> |
| 18 | |
| 19 | <uses-feature android:name="android.hardware.wifi" android:required="false"/> |
| 20 | |
| 21 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 22 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
Philip P. Moltmann | 2051447 | 2018-04-16 13:45:18 -0700 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" /> |
Glade Diviney | 080c9c9 | 2018-01-08 15:56:42 -0800 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
Mopria | 3bf6674 | 2016-11-29 15:32:41 -0800 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.INTERNET" /> |
| 26 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Philip P. Moltmann | 9493c0c | 2017-06-19 10:55:43 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.READ_PRINT_SERVICES" /> |
| 28 | <uses-permission android:name="android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS" /> |
Philip P. Moltmann | 20933fa | 2020-03-03 15:51:16 -0800 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON" /> |
Glade Diviney | 2529f36 | 2020-07-06 18:03:44 -0700 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
Philip P. Moltmann | afa94fc | 2019-05-14 13:47:20 -0700 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
Philip P. Moltmann | bddc29f | 2018-12-03 13:39:32 -0800 | [diff] [blame] | 32 | |
Glade Diviney | 080c9c9 | 2018-01-08 15:56:42 -0800 | [diff] [blame] | 33 | <application |
Mopria | 3bf6674 | 2016-11-29 15:32:41 -0800 | [diff] [blame] | 34 | android:label="@string/app_name" |
Philip P. Moltmann | 99f9b8a | 2017-04-04 17:49:57 -0700 | [diff] [blame] | 35 | android:icon="@drawable/ic_printservice" |
Mopria | 3bf6674 | 2016-11-29 15:32:41 -0800 | [diff] [blame] | 36 | android:allowBackup="true" |
| 37 | android:supportsRtl="true"> |
| 38 | <service android:name="com.android.bips.BuiltInPrintService" |
| 39 | android:permission="android.permission.BIND_PRINT_SERVICE"> |
| 40 | <intent-filter> |
| 41 | <action android:name="android.printservice.PrintService" /> |
| 42 | </intent-filter> |
| 43 | <meta-data |
| 44 | android:name="android.printservice" |
| 45 | android:resource="@xml/printservice" /> |
| 46 | </service> |
| 47 | |
| 48 | <service android:name="com.android.bips.render.PdfRenderService" |
| 49 | android:exported="false" |
| 50 | android:isolatedProcess="true"> |
| 51 | <intent-filter> |
| 52 | <action android:name="com.android.bips.render.PdfRenderService" /> |
| 53 | </intent-filter> |
| 54 | </service> |
| 55 | |
| 56 | <activity |
Glade Diviney | 7f6c71b | 2019-08-02 09:48:45 -0700 | [diff] [blame] | 57 | android:name="com.android.bips.ui.MoreOptionsActivity" |
| 58 | android:theme="@android:style/Theme.DeviceDefault.Settings" |
| 59 | android:configChanges="orientation|screenSize" |
| 60 | android:exported="true" |
| 61 | android:permission="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY" /> |
| 62 | |
| 63 | <activity |
Mopria | 3bf6674 | 2016-11-29 15:32:41 -0800 | [diff] [blame] | 64 | android:name="com.android.bips.ui.AddPrintersActivity" |
| 65 | android:label="@string/title_activity_add_printer" |
| 66 | android:theme="@android:style/Theme.DeviceDefault.Settings" |
| 67 | android:excludeFromRecents="true" |
| 68 | android:exported="true" |
| 69 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 70 | android:permission="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY" /> |
Glade Diviney | f0cac41 | 2020-02-05 15:25:07 -0800 | [diff] [blame] | 71 | |
| 72 | <activity |
| 73 | android:name="com.android.bips.ImagePrintActivity" |
| 74 | android:label="@string/print" |
| 75 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
| 76 | android:configChanges="keyboardHidden|orientation|screenSize"> |
| 77 | <intent-filter> |
| 78 | <action android:name="android.intent.action.SEND" /> |
| 79 | <category android:name="android.intent.category.DEFAULT" /> |
| 80 | <data android:mimeType="image/*" /> |
| 81 | </intent-filter> |
| 82 | </activity> |
| 83 | |
| 84 | <activity |
| 85 | android:name="com.android.bips.PdfPrintActivity" |
| 86 | android:label="@string/print" |
| 87 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
| 88 | android:configChanges="keyboardHidden|orientation|screenSize"> |
| 89 | <intent-filter> |
| 90 | <action android:name="android.intent.action.SEND" /> |
| 91 | <category android:name="android.intent.category.DEFAULT" /> |
| 92 | <data android:mimeType="application/pdf" /> |
| 93 | </intent-filter> |
| 94 | </activity> |
Mopria | 3bf6674 | 2016-11-29 15:32:41 -0800 | [diff] [blame] | 95 | </application> |
Glade Diviney | 080c9c9 | 2018-01-08 15:56:42 -0800 | [diff] [blame] | 96 | </manifest> |