1#
2# Copyright (C) 2020 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#     http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16# This makefile contains the vendor partition contents for
17# a generic TV device.
18$(call inherit-product, $(SRC_TARGET_DIR)/product/media_vendor.mk)
19
20PRODUCT_PACKAGES += \
21    tv_input.default
22
23PRODUCT_PACKAGES += \
24    audio.primary.default \
25    local_time.default
26
27# To enable access to /dev/dvb*
28BOARD_SEPOLICY_DIRS += device/google/atv/sepolicy/vendor
29
30# Configure Bluetooth
31# Class of Device
32#   Service Class: 0x2C -> 44 (Rendering, Capturing, Audio)
33#   Major Device Class: 0x04 -> 4 (Audio/Video)
34#   Minor Device Class: 0x20 -> 32 (Set-top box) // default value, should be set to 0x3C for a TV
35PRODUCT_VENDOR_PROPERTIES += \
36    bluetooth.device.class_of_device?=44,4,32
37