summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSungsoo Lim <sungsoo@google.com>2015-04-09 11:18:37 +0900
committerSungsoo Lim <sungsoo@google.com>2015-04-10 09:40:43 +0900
commit0a44cdbee4ef0e1f5b08e798c08c030c0deedb80 (patch)
tree13c2aa4ad755d7256b8d1b34aaa1928a2387cc09
parent3e1dafbb10f20c041de4009fc7f7117586293968 (diff)
downloadandroid_device_google_atv-0a44cdbee4ef0e1f5b08e798c08c030c0deedb80.tar.gz
android_device_google_atv-0a44cdbee4ef0e1f5b08e798c08c030c0deedb80.tar.bz2
android_device_google_atv-0a44cdbee4ef0e1f5b08e798c08c030c0deedb80.zip
TV pakcage and com.google.android.tv.installed feature policy
- Change the feature name from com.google.android.tv.live_channels to com.google.android.tv.installed. - Remove USE_GMS_LIVECHANNELS flag, and use USE_OEM_TV_APP flag instead. - Do not include Live Channels app if USE_OEM_TV_APP flag is set. Change-Id: I4223bf3ee797a0c0e65d4bb115f55a32314e8a2a
-rw-r--r--permissions/com.google.android.tv.installed.xml (renamed from permissions/com.google.android.tv.live_channels.xml)2
-rw-r--r--products/atv_base.mk11
2 files changed, 8 insertions, 5 deletions
diff --git a/permissions/com.google.android.tv.live_channels.xml b/permissions/com.google.android.tv.installed.xml
index de0dc98..41fa21f 100644
--- a/permissions/com.google.android.tv.live_channels.xml
+++ b/permissions/com.google.android.tv.installed.xml
@@ -14,5 +14,5 @@
limitations under the License.
-->
<permissions>
- <feature name="com.google.android.tv.live_channels" />
+ <feature name="com.google.android.tv.installed" />
</permissions>
diff --git a/products/atv_base.mk b/products/atv_base.mk
index d85c40a..cc1941d 100644
--- a/products/atv_base.mk
+++ b/products/atv_base.mk
@@ -100,11 +100,14 @@ EXTENDED_FONT_FOOTPRINT := true
# Use full NotoSans font
FONT_NOTOSANS_FULL := true
-# A feature com.google.android.tv.live_channels is used to whitelist
-# devices which can support Live Channels app
-ifeq ($(USE_GMS_LIVECHANNELS),true)
+# Do not include the Live Channels app if USE_OEM_TV_APP flag is set.
+# The feature com.google.android.tv.installed is used to tell whether a device
+# has the pre-installed Live Channels app. This is necessary for the Play Store
+# to identify the compatible devices that can install later updates of the app.
+ifneq ($(USE_OEM_TV_APP),true)
+ PRODUCT_PACKAGES += TV
PRODUCT_COPY_FILES += \
- device/google/atv/permissions/com.google.android.tv.live_channels.xml:system/etc/permissions/com.google.android.tv.live_channels.xml
+ device/google/atv/permissions/com.google.android.tv.installed.xml:system/etc/permissions/com.google.android.tv.installed.xml
endif
$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)