blob: fbcf9e73622f057d957711d074aa8bfd46be1c8b [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
Jae Seo33d3cf32015-07-07 14:00:10 -070020 <!-- Allows an application to read (but not write) all the TV listings. -->
Jae Seo2ff926c2015-06-22 21:55:06 -070021 <permission android:name="android.permission.READ_TV_LISTINGS"
Jae Seobbbbf732014-03-27 12:32:05 -070022 android:protectionLevel="dangerous"
Jae Seo2ff926c2015-06-22 21:55:06 -070023 android:label="@string/permlab_readTvListings"
24 android:description="@string/permdesc_readTvListings" />
Jae Seobbbbf732014-03-27 12:32:05 -070025
Jae Seo33d3cf32015-07-07 14:00:10 -070026 <!-- Allows an application to read (but not write) its own TV channel/program data.
27 @deprecated No longer enforced. -->
28 <permission android:name="com.android.providers.tv.permission.READ_EPG_DATA"
29 android:protectionLevel="normal"
30 android:label="@string/permlab_readEpgData"
31 android:description="@string/permdesc_readEpgData" />
32
33 <!-- Allows an application to write (but not read) its own TV channel/program data. -->
34 <permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA"
35 android:protectionLevel="normal"
36 android:label="@string/permlab_writeEpgData"
37 android:description="@string/permdesc_writeEpgData" />
38
Jae Seobbbbf732014-03-27 12:32:05 -070039 <!-- Allows an application to read and write all TV channel/program data.
40 @hide -->
Jae Seo13b32cf2014-08-11 16:00:35 -070041 <permission android:name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA"
Jae Seobbbbf732014-03-27 12:32:05 -070042 android:protectionLevel="signatureOrSystem"
Jae Seo13b32cf2014-08-11 16:00:35 -070043 android:label="@string/permlab_accessAllEpgData"
44 android:description="@string/permdesc_accessAllEpgData" />
Jae Seobbbbf732014-03-27 12:32:05 -070045
Jae Seo13b32cf2014-08-11 16:00:35 -070046 <!-- Allows an application to read and write watched programs data.
Jae Seobbbbf732014-03-27 12:32:05 -070047 @hide -->
Jae Seo13b32cf2014-08-11 16:00:35 -070048 <permission android:name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS"
49 android:protectionLevel="signatureOrSystem"
50 android:label="@string/permlab_accessWatchedPrograms"
51 android:description="@string/permdesc_accessWatchedPrograms" />
Jae Seobbbbf732014-03-27 12:32:05 -070052
Jae Seo13b32cf2014-08-11 16:00:35 -070053 <uses-permission android:name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA" />
Jae Seo4cf2b252014-09-15 15:32:45 -070054 <uses-permission android:name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" />
Ji-Hwan Leeac117ad2014-06-26 04:06:26 +090055
Jae Seobbbbf732014-03-27 12:32:05 -070056 <application android:label="@string/app_label">
57 <provider
58 android:name="TvProvider"
Jae Seo15201d22014-06-02 16:35:27 -070059 android:authorities="android.media.tv"
Jae Seobbbbf732014-03-27 12:32:05 -070060 android:exported="true"
Jae Seo33d3cf32015-07-07 14:00:10 -070061 android:syncable="true"
62 android:writePermission="com.android.providers.tv.permission.WRITE_EPG_DATA">
63 <grant-uri-permission android:pathPattern="/channel" />
64 <grant-uri-permission android:pathPattern="/program" />
65 </provider>
Ji-Hwan Leeac117ad2014-06-26 04:06:26 +090066
67 <service android:name="EpgDataCleanupService" />
Jae Seobbbbf732014-03-27 12:32:05 -070068 </application>
69</manifest>