Only fake ril version on jellybean
authorAlexander Tarasikov <alexander.tarasikov@gmail.com>
Sat, 25 Aug 2012 17:56:54 +0000 (21:56 +0400)
committerAlexander Tarasikov <alexander.tarasikov@gmail.com>
Sat, 25 Aug 2012 17:56:54 +0000 (21:56 +0400)
compat.h

index 93b8546..71e481d 100644 (file)
--- a/compat.h
+++ b/compat.h
 
 //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__