Enable HID flag for Common profile 83/66083/1 accepted/tizen/common/20160415.162512 accepted/tizen/ivi/20160415.084100 accepted/tizen/mobile/20160415.084054 accepted/tizen/tv/20160415.084052 accepted/tizen/wearable/20160415.084046 submit/tizen/20160415.055335
authorDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 15 Apr 2016 05:51:19 +0000 (14:51 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 15 Apr 2016 05:51:19 +0000 (14:51 +0900)
Change-Id: I23169d7432cb9b0e5ae6909579e05b0b7fd0718c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/ug-bluetooth-efl.spec
src/libraries/bt-util.c

index 8bc3c47..0ca9a3e 100644 (file)
@@ -56,6 +56,10 @@ export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
 export CFLAGS="$CFLAGS -DTIZEN_HID"
 %endif
 
+%if "%{?profile}" == "common"
+export CFLAGS="$CFLAGS -DTIZEN_HID -DTIZEN_COMMON"
+%endif
+
 export LDFLAGS
 cmake . -DCMAKE_INSTALL_PREFIX=%{_ugdir}
 
index 200ebd1..7789635 100644 (file)
@@ -306,6 +306,10 @@ gboolean _bt_util_is_battery_low(void)
 {
        FN_START;
 
+#ifdef TIZEN_COMMON
+       return FALSE;
+#endif
+
        int value = 0;
        int charging = 0;