blob: b7637ce640e724030b068b954a3fc90a39f91e70 [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 Seo3fb39672016-02-19 23:49:37 -080020 <!-- Allows an application to read (but not write) all the TV listings.
21 This is the only (soon-to-be) public permission among other permissions defined here.
22 TODO(jaeseo): Update when b/21959866 is resolved. -->
Jae Seo2ff926c2015-06-22 21:55:06 -070023 <permission android:name="android.permission.READ_TV_LISTINGS"
Jae Seobbbbf732014-03-27 12:32:05 -070024 android:protectionLevel="dangerous"
Jae Seo2ff926c2015-06-22 21:55:06 -070025 android:label="@string/permlab_readTvListings"
26 android:description="@string/permdesc_readTvListings" />
Jae Seobbbbf732014-03-27 12:32:05 -070027
Jae Seo33d3cf32015-07-07 14:00:10 -070028 <!-- Allows an application to read (but not write) its own TV channel/program data.
29 @deprecated No longer enforced. -->
30 <permission android:name="com.android.providers.tv.permission.READ_EPG_DATA"
31 android:protectionLevel="normal"
32 android:label="@string/permlab_readEpgData"
33 android:description="@string/permdesc_readEpgData" />
34
Jae Seo3fb39672016-02-19 23:49:37 -080035 <!-- Allows an application to write (but not read) its own TV channel/program data.
36 The write permission is still enforced but the application is not required to declare it as
37 the TV player/viewer app grants permission to write through the channel setup flow.
38 @hide -->
Jae Seo33d3cf32015-07-07 14:00:10 -070039 <permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA"
40 android:protectionLevel="normal"
41 android:label="@string/permlab_writeEpgData"
42 android:description="@string/permdesc_writeEpgData" />
43
Jae Seobbbbf732014-03-27 12:32:05 -070044 <!-- Allows an application to read and write all TV channel/program data.
45 @hide -->
Jae Seo13b32cf2014-08-11 16:00:35 -070046 <permission android:name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA"
Jae Seobbbbf732014-03-27 12:32:05 -070047 android:protectionLevel="signatureOrSystem"
Jae Seo13b32cf2014-08-11 16:00:35 -070048 android:label="@string/permlab_accessAllEpgData"
49 android:description="@string/permdesc_accessAllEpgData" />
Jae Seobbbbf732014-03-27 12:32:05 -070050
Jae Seo13b32cf2014-08-11 16:00:35 -070051 <!-- Allows an application to read and write watched programs data.
Jae Seobbbbf732014-03-27 12:32:05 -070052 @hide -->
Jae Seo13b32cf2014-08-11 16:00:35 -070053 <permission android:name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS"
54 android:protectionLevel="signatureOrSystem"
55 android:label="@string/permlab_accessWatchedPrograms"
56 android:description="@string/permdesc_accessWatchedPrograms" />
Jae Seobbbbf732014-03-27 12:32:05 -070057
Jae Seo13b32cf2014-08-11 16:00:35 -070058 <uses-permission android:name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA" />
Jae Seo4cf2b252014-09-15 15:32:45 -070059 <uses-permission android:name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" />
Ji-Hwan Leeac117ad2014-06-26 04:06:26 +090060
Jae Seobbbbf732014-03-27 12:32:05 -070061 <application android:label="@string/app_label">
62 <provider
63 android:name="TvProvider"
Jae Seo15201d22014-06-02 16:35:27 -070064 android:authorities="android.media.tv"
Jae Seobbbbf732014-03-27 12:32:05 -070065 android:exported="true"
Jae Seo33d3cf32015-07-07 14:00:10 -070066 android:syncable="true"
67 android:writePermission="com.android.providers.tv.permission.WRITE_EPG_DATA">
68 <grant-uri-permission android:pathPattern="/channel" />
69 <grant-uri-permission android:pathPattern="/program" />
70 </provider>
Ji-Hwan Leeac117ad2014-06-26 04:06:26 +090071
72 <service android:name="EpgDataCleanupService" />
Jae Seobbbbf732014-03-27 12:32:05 -070073 </application>
74</manifest>