Remove use of PRODUCT_FULL_TREBLE from sensors.
This section of code uses PRODUCT_FULL_TREBLE, but
what PRODUCT_FULL_TREBLE means is too fuzzy, and
it is being broken up into multiple flags.
Also, this is an unnecessary restriction (HALs can
be implemented anyway people want).
Fixes: 67975863
Test: multiproduct_kati
Change-Id: I0de36d1ee23052c1fadcdf9a8b1ce85781dd88a0
diff --git a/modules/sensors/Android.mk b/modules/sensors/Android.mk
index e5e0c9c..ca277e6 100644
--- a/modules/sensors/Android.mk
+++ b/modules/sensors/Android.mk
@@ -17,7 +17,6 @@
LOCAL_PATH := $(call my-dir)
ifeq ($(USE_SENSOR_MULTI_HAL),true)
-ifneq ($(PRODUCT_FULL_TREBLE),true)
include $(CLEAR_VARS)
@@ -42,10 +41,6 @@
include $(BUILD_SHARED_LIBRARY)
-else
-$(warning Treble enabled device have built-in sensor multihal support. \
- USE_SENSOR_MULTI_HAL should not be set.)
-endif # PRODUCT_FULL_TREBLE
endif # USE_SENSOR_MULTI_HAL
include $(call all-makefiles-under, $(LOCAL_PATH))