blob: f38fd742834d18daf4def482712485b0ec540d9f [file] [log] [blame]
Jae Seobbbbf732014-03-27 12:32:05 -07001<?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. -->
Jae Seo13b32cf2014-08-11 16:00:35 -070022 <permission android:name="com.android.providers.tv.permission.READ_EPG_DATA"
Jae Seobbbbf732014-03-27 12:32:05 -070023 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. -->
Jae Seo13b32cf2014-08-11 16:00:35 -070029 <permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA"
Jae Seobbbbf732014-03-27 12:32:05 -070030 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 -->
Jae Seo13b32cf2014-08-11 16:00:35 -070036 <permission android:name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA"
Jae Seobbbbf732014-03-27 12:32:05 -070037 android:protectionLevel="signatureOrSystem"
Jae Seo13b32cf2014-08-11 16:00:35 -070038 android:label="@string/permlab_accessAllEpgData"
39 android:description="@string/permdesc_accessAllEpgData" />
Jae Seobbbbf732014-03-27 12:32:05 -070040
Jae Seo13b32cf2014-08-11 16:00:35 -070041 <!-- Allows an application to read and write watched programs data.
Jae Seobbbbf732014-03-27 12:32:05 -070042 @hide -->
Jae Seo13b32cf2014-08-11 16:00:35 -070043 <permission android:name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS"
44 android:protectionLevel="signatureOrSystem"
45 android:label="@string/permlab_accessWatchedPrograms"
46 android:description="@string/permdesc_accessWatchedPrograms" />
Jae Seobbbbf732014-03-27 12:32:05 -070047
Jae Seo13b32cf2014-08-11 16:00:35 -070048 <uses-permission android:name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA" />
Ji-Hwan Leeac117ad2014-06-26 04:06:26 +090049
Jae Seobbbbf732014-03-27 12:32:05 -070050 <application android:label="@string/app_label">
51 <provider
52 android:name="TvProvider"
Jae Seo15201d22014-06-02 16:35:27 -070053 android:authorities="android.media.tv"
Jae Seobbbbf732014-03-27 12:32:05 -070054 android:exported="true"
55 android:syncable="true"
Jae Seo13b32cf2014-08-11 16:00:35 -070056 android:readPermission="com.android.providers.tv.permission.READ_EPG_DATA"
57 android:writePermission="com.android.providers.tv.permission.WRITE_EPG_DATA">
Jae Seobbbbf732014-03-27 12:32:05 -070058 <path-permission
59 android:pathPrefix="/watched_program"
Jae Seo13b32cf2014-08-11 16:00:35 -070060 android:permission="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" />
Jae Seobbbbf732014-03-27 12:32:05 -070061 </provider>
Ji-Hwan Leeac117ad2014-06-26 04:06:26 +090062
63 <service android:name="EpgDataCleanupService" />
Jae Seobbbbf732014-03-27 12:32:05 -070064 </application>
65</manifest>