diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-01-14 12:51:47 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-01-14 12:57:18 +0100 |
commit | 8622810347b2be55570c49a44dacb4ab0de78ec7 (patch) | |
tree | f24183d3ebeb89d8a956ee41e47e49182928862b /android/main.c | |
parent | 988bfaeac2ffafa7cef80bc1b9344f9a26587faf (diff) | |
download | bluez-8622810347b2be55570c49a44dacb4ab0de78ec7.tar.gz |
android: Remove support for old Android versions
This removes compatibility with Android 4.3 and older. Android 4.4 is
current target. Due to bug in Audio HAL in 4.2 build was failing on
that version anyway.
Diffstat (limited to 'android/main.c')
-rw-r--r-- | android/main.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/android/main.c b/android/main.c index 5210b4bcd..bd1bed759 100644 --- a/android/main.c +++ b/android/main.c @@ -36,6 +36,7 @@ #include <unistd.h> #include <sys/signalfd.h> +#include <sys/capability.h> #include <glib.h> @@ -52,12 +53,6 @@ #include "a2dp.h" #include "pan.h" -/* TODO: Consider to remove PLATFORM_SDKVERSION check if requirement -* for minimal Android platform version increases. */ -#if defined(ANDROID) && PLATFORM_SDK_VERSION >= 18 -#include <sys/capability.h> -#endif - #define STARTUP_GRACE_SECONDS 5 #define SHUTDOWN_GRACE_SECONDS 10 |