From 53182ebce2a3c5b4f609bbb76411d8e320e4e205 Mon Sep 17 00:00:00 2001 From: Bulbul Dabi Date: Thu, 13 Jul 2017 19:01:39 +0530 Subject: [PATCH] Set ro.oem_unlock_supported Fix for GTS failure: testTestGetFlashLockState. Test case checks for "ro.boot.flash.locked" and returns value based on locked state. This property is not set due to "ro.oem_unlock_supported" is not set. Change-Id: I359fecb46aeb137edb1b2ecf27b6b0b81ee97454 --- base.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base.mk b/base.mk index a0cf81ff..2258976c 100644 --- a/base.mk +++ b/base.mk @@ -1017,6 +1017,10 @@ ifeq ($(strip $(TARGET_USES_QTIC_EXTENSION)),true) PRODUCT_BOOT_JARS += com.qualcomm.qti.camera endif +# OEM Unlock reporting +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + ro.oem_unlock_supported=true + PRODUCT_PACKAGES += \ android.hardware.renderscript@1.0.vndk-sp\ android.hardware.graphics.allocator@2.0.vndk-sp\