AndroidManifest.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. <!-- Allows an application to call APIs that give it access to all print jobs
  22. on the device. Usually an app can access only the print jobs it created. -->
  23. <permission
  24. android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"
  25. android:protectionLevel="signature" />
  26. <!-- May be required by the settings and add printer activities of a
  27. print service if the developer wants only trusted system code to
  28. be able to launch these activities. -->
  29. <permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"
  30. android:protectionLevel="signature" />
  31. <uses-permission android:name="com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS"/>
  32. <uses-permission android:name="android.permission.WAKE_LOCK"/>
  33. <uses-permission android:name="android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY"/>
  34. <uses-permission android:name="android.permission.READ_PRINT_SERVICES" />
  35. <uses-permission android:name="android.permission.READ_PRINT_SERVICE_RECOMMENDATIONS" />
  36. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  37. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  38. <application
  39. android:allowClearUserData="true"
  40. android:label="@string/app_label"
  41. android:icon="@drawable/ic_app_icon"
  42. android:supportsRtl="true">
  43. <service
  44. android:name=".model.PrintSpoolerService"
  45. android:exported="true"
  46. android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE">
  47. </service>
  48. <service
  49. android:name=".renderer.PdfManipulationService"
  50. android:isolatedProcess="true"
  51. android:process=":renderer">
  52. </service>
  53. <activity
  54. android:name=".ui.PrintActivity"
  55. android:configChanges="mnc|mnc|touchscreen|navigation|screenLayout|screenSize|smallestScreenSize|orientation|locale|keyboard|keyboardHidden|fontScale|uiMode|layoutDirection|density"
  56. android:permission="android.permission.BIND_PRINT_SPOOLER_SERVICE"
  57. android:theme="@style/Theme.PrintActivity">
  58. <intent-filter>
  59. <action android:name="android.print.PRINT_DIALOG" />
  60. <category android:name="android.intent.category.DEFAULT" />
  61. <data android:scheme="printjob" android:pathPattern="*" />
  62. </intent-filter>
  63. </activity>
  64. <activity
  65. android:name=".ui.SelectPrinterActivity"
  66. android:label="@string/all_printers_label"
  67. android:theme="@style/Theme.SelectPrinterActivity"
  68. android:parentActivityName=".ui.PrintActivity"
  69. android:exported="false">
  70. </activity>
  71. <activity
  72. android:name=".ui.AddPrinterActivity"
  73. android:label="@string/print_add_printer"
  74. android:theme="@style/Theme.AddPrinterActivity"
  75. android:parentActivityName=".ui.SelectPrinterActivity"
  76. android:exported="false">
  77. </activity>
  78. <receiver
  79. android:name=".model.NotificationController$NotificationBroadcastReceiver"
  80. android:exported="false" >
  81. </receiver>
  82. </application>
  83. </manifest>