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" |
Dongwon Kang | 9c3caa0 | 2017-04-03 09:04:32 -0700 | [diff] [blame] | 18 | package="com.android.providers.tv" > |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 19 | |
Jae Seo | 3fb3967 | 2016-02-19 23:49:37 -0800 | [diff] [blame] | 20 | <!-- 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 Seo | 2ff926c | 2015-06-22 21:55:06 -0700 | [diff] [blame] | 23 | <permission android:name="android.permission.READ_TV_LISTINGS" |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 24 | android:protectionLevel="dangerous" |
Jae Seo | 2ff926c | 2015-06-22 21:55:06 -0700 | [diff] [blame] | 25 | android:label="@string/permlab_readTvListings" |
| 26 | android:description="@string/permdesc_readTvListings" /> |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 27 | |
Jae Seo | 33d3cf3 | 2015-07-07 14:00:10 -0700 | [diff] [blame] | 28 | <!-- 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 Seo | 3fb3967 | 2016-02-19 23:49:37 -0800 | [diff] [blame] | 35 | <!-- 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 Seo | 33d3cf3 | 2015-07-07 14:00:10 -0700 | [diff] [blame] | 39 | <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 Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 44 | <!-- Allows an application to read and write all TV channel/program data. |
| 45 | @hide --> |
Jae Seo | 13b32cf | 2014-08-11 16:00:35 -0700 | [diff] [blame] | 46 | <permission android:name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA" |
Yury Zhauniarovich | b187bdb | 2015-12-14 22:03:44 +0300 | [diff] [blame] | 47 | android:protectionLevel="signature|privileged" |
Jae Seo | 13b32cf | 2014-08-11 16:00:35 -0700 | [diff] [blame] | 48 | android:label="@string/permlab_accessAllEpgData" |
| 49 | android:description="@string/permdesc_accessAllEpgData" /> |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 50 | |
Jae Seo | 13b32cf | 2014-08-11 16:00:35 -0700 | [diff] [blame] | 51 | <!-- Allows an application to read and write watched programs data. |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 52 | @hide --> |
Jae Seo | 13b32cf | 2014-08-11 16:00:35 -0700 | [diff] [blame] | 53 | <permission android:name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" |
Yury Zhauniarovich | b187bdb | 2015-12-14 22:03:44 +0300 | [diff] [blame] | 54 | android:protectionLevel="signature|privileged" |
Jae Seo | 13b32cf | 2014-08-11 16:00:35 -0700 | [diff] [blame] | 55 | android:label="@string/permlab_accessWatchedPrograms" |
| 56 | android:description="@string/permdesc_accessWatchedPrograms" /> |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 57 | |
Jae Seo | 13b32cf | 2014-08-11 16:00:35 -0700 | [diff] [blame] | 58 | <uses-permission android:name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA" /> |
Jae Seo | 4cf2b25 | 2014-09-15 15:32:45 -0700 | [diff] [blame] | 59 | <uses-permission android:name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" /> |
Dongwon Kang | 3cc1a85 | 2017-01-20 18:26:39 -0800 | [diff] [blame] | 60 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Ji-Hwan Lee | ac117ad | 2014-06-26 04:06:26 +0900 | [diff] [blame] | 61 | |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 62 | <application android:label="@string/app_label"> |
| 63 | <provider |
| 64 | android:name="TvProvider" |
Jae Seo | 15201d2 | 2014-06-02 16:35:27 -0700 | [diff] [blame] | 65 | android:authorities="android.media.tv" |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 66 | android:exported="true" |
Jae Seo | 33d3cf3 | 2015-07-07 14:00:10 -0700 | [diff] [blame] | 67 | android:syncable="true" |
| 68 | android:writePermission="com.android.providers.tv.permission.WRITE_EPG_DATA"> |
| 69 | <grant-uri-permission android:pathPattern="/channel" /> |
| 70 | <grant-uri-permission android:pathPattern="/program" /> |
| 71 | </provider> |
Ji-Hwan Lee | ac117ad | 2014-06-26 04:06:26 +0900 | [diff] [blame] | 72 | |
| 73 | <service android:name="EpgDataCleanupService" /> |
Dongwon Kang | b9f9641 | 2016-04-04 18:38:03 -0700 | [diff] [blame] | 74 | |
| 75 | <!-- Handles database upgrades after OTAs --> |
| 76 | <receiver android:name="TvProviderUpgradeReceiver"> |
| 77 | <!-- This broadcast is sent after the core system has finished |
| 78 | booting, before the home app is launched or BOOT_COMPLETED |
| 79 | is sent. --> |
| 80 | <intent-filter> |
| 81 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> |
| 82 | </intent-filter> |
| 83 | </receiver> |
Dongwon Kang | 3cc1a85 | 2017-01-20 18:26:39 -0800 | [diff] [blame] | 84 | |
| 85 | <!-- Deletes transient rows on boot. --> |
| 86 | <receiver android:name="BootCompletedReceiver"> |
| 87 | <intent-filter> |
| 88 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 89 | </intent-filter> |
| 90 | </receiver> |
Conrad Chen | 1b63db5 | 2017-02-01 17:11:12 -0800 | [diff] [blame] | 91 | |
| 92 | <!-- Removes channels and programs when some package is fully removed. --> |
| 93 | <receiver android:name="PackageRemovedReceiver"> |
| 94 | <intent-filter> |
| 95 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED"/> |
Conrad Chen | f5e79ad | 2017-03-22 17:29:05 -0700 | [diff] [blame] | 96 | <data android:scheme="package"/> |
Conrad Chen | 1b63db5 | 2017-02-01 17:11:12 -0800 | [diff] [blame] | 97 | </intent-filter> |
| 98 | </receiver> |
Jae Seo | bbbbf73 | 2014-03-27 12:32:05 -0700 | [diff] [blame] | 99 | </application> |
Dongwon Kang | 9c3caa0 | 2017-04-03 09:04:32 -0700 | [diff] [blame] | 100 | </manifest> |