From 12390a8586cae8857504b0f8d6ec56d0de548593 Mon Sep 17 00:00:00 2001
From: Piotr Kosko
Date: Mon, 29 May 2017 13:49:09 +0200
Subject: [PATCH] [Sensor] Disable sensor for TW2 device
[Feature] sensor is now not supported on TW2 device - official 4.0 device,
so it is needed to disable it in TW2 build.
Change-Id: If6fb85627f8624baf51c51c8736911e83ae6c00b
Signed-off-by: Piotr Kosko
---
packaging/webapi-plugins.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/packaging/webapi-plugins.spec b/packaging/webapi-plugins.spec
index 1c2d331b..9f70ddbf 100644
--- a/packaging/webapi-plugins.spec
+++ b/packaging/webapi-plugins.spec
@@ -161,7 +161,7 @@ Source0: %{name}-%{version}.tar.gz
####################################################################
-# Wearable Profile : B2 / TW1 #
+# Wearable Profile : B2 / TW2 #
####################################################################
%define tizen_wearable_privilege_engine CYNARA
@@ -215,7 +215,8 @@ Source0: %{name}-%{version}.tar.gz
%define tizen_wearable_feature_preference_support 1
%define tizen_wearable_feature_push_support 1
%define tizen_wearable_feature_se_support 1
-%define tizen_wearable_feature_sensor_support 1
+# sensor module is not supported in TW2 devices
+%define tizen_wearable_feature_sensor_support 0
%define tizen_wearable_feature_sound_support 1
%define tizen_wearable_feature_system_info_support 1
%define tizen_wearable_feature_system_setting_support 1
--
2.34.1