Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2014 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | package="com.android.providers.tv" > |
| 19 | |
| 20 | <!-- Allows an application to read (but not write) the TV channel/program |
| 21 | data. --> |
| 22 | <permission android:name="android.permission.READ_EPG_DATA" |
| 23 | android:protectionLevel="dangerous" |
| 24 | android:label="@string/permlab_readEpgData" |
| 25 | android:description="@string/permdesc_readEpgData" /> |
| 26 | |
| 27 | <!-- Allows an application to write (but not read) the TV channel/program |
| 28 | data. --> |
| 29 | <permission android:name="android.permission.WRITE_EPG_DATA" |
| 30 | android:protectionLevel="dangerous" |
| 31 | android:label="@string/permlab_writeEpgData" |
| 32 | android:description="@string/permdesc_writeEpgData" /> |
| 33 | |
| 34 | <!-- Allows an application to read and write all TV channel/program data. |
| 35 | @hide --> |
| 36 | <permission android:name="android.permission.ALL_EPG_DATA" |
| 37 | android:protectionLevel="signatureOrSystem" |
| 38 | android:label="@string/permlab_allEpgData" |
| 39 | android:description="@string/permdesc_allEpgData" /> |
| 40 | |
| 41 | <!-- Allows an application to read and write the user's TV watch log. |
| 42 | @hide --> |
| 43 | <permission android:name="android.permission.TV_WATCH_LOG" |
| 44 | android:protectionLevel="signature" |
| 45 | android:label="@string/permlab_tvWatchLog" |
| 46 | android:description="@string/permdesc_tvWatchLog" /> |
| 47 | |
| 48 | <application android:label="@string/app_label"> |
| 49 | <provider |
| 50 | android:name="TvProvider" |
Jae Seo | 15201d2 | 2014-06-02 16:35:27 -0700 | [diff] [blame^] | 51 | android:authorities="android.media.tv" |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 52 | android:exported="true" |
| 53 | android:syncable="true" |
| 54 | android:readPermission="android.permission.READ_EPG_DATA" |
| 55 | android:writePermission="android.permission.WRITE_EPG_DATA"> |
| 56 | <path-permission |
| 57 | android:pathPrefix="/watched_program" |
| 58 | android:permission="android.permission.TV_WATCH_LOG" /> |
| 59 | </provider> |
| 60 | </application> |
| 61 | </manifest> |