summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-08-25 21:56:54 +0400
committerAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-08-25 21:56:54 +0400
commit057bc1d54a4189ae8e6e2b2049ceae1ca8f3ee43 (patch)
treebcc3fcd0f436e72262f1dbe4b42580e571cfc085
parent66e1ef9235ed1ec37a1e17680a4f475fc8719090 (diff)
downloadhardware_ril_samsung-ril-057bc1d54a4189ae8e6e2b2049ceae1ca8f3ee43.zip
hardware_ril_samsung-ril-057bc1d54a4189ae8e6e2b2049ceae1ca8f3ee43.tar.gz
hardware_ril_samsung-ril-057bc1d54a4189ae8e6e2b2049ceae1ca8f3ee43.tar.bz2
Only fake ril version on jellybean
-rw-r--r--compat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/compat.h b/compat.h
index 93b8546..71e481d 100644
--- a/compat.h
+++ b/compat.h
@@ -54,6 +54,10 @@
//set it to the maximum supported revision
//we've not yet fully implemented version 7
-#define SAMSUNG_RIL_VERSION 6
+#if RIL_VERSION >= 6
+ #define SAMSUNG_RIL_VERSION 6
+#else
+ #define SAMSUNG_RIL_VERSION RIL_VERSION
+#endif
#endif //__COMPAT_H__