From c564d0a672cdbb678a8403d6dd1ff59154ff5def Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Fri, 3 May 2024 11:35:48 -0400 Subject: [PATCH] common: config: Set ro.oem.key1 on ATV devices * This key is equivilant to `android-google` for mobile. Change-Id: I51e1c64dc016577fa0f9bf72a9eed9350e788cd2 --- config/common.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/common.mk b/config/common.mk index fe917f91..516fcb72 100644 --- a/config/common.mk +++ b/config/common.mk @@ -13,6 +13,16 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ ro.com.google.clientidbase=$(PRODUCT_GMS_CLIENTID_BASE) endif +ifeq ($(PRODUCT_IS_ATV),true) +ifeq ($(PRODUCT_ATV_CLIENTID_BASE),) +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ + ro.oem.key1=ATV00100020 +else +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ + ro.com.google.clientidbase=$(PRODUCT_ATV_CLIENTID_BASE) +endif +endif + ifeq ($(TARGET_BUILD_VARIANT),eng) # Disable ADB authentication PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0