According to https://developer.android.com/reference/android/os/Build.VERSION.html#RELEASE, Build.VERSION.RELEASE contains string like "3.4b5" while I was expecting a sequence of numbers separated with a dot(.) like "8.1.0".
Any ideas on when I'll be seeing characters in OS versions and a good comparison logic to compare current OS version with a fixed string(say 7.0.0).