Author yan12125
Recipients Alex.Willmer, Roman.Evstifeev, lemburg, xdegaye, yan12125
Date 2016-05-08.15:11:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462720296.92.0.741861589625.issue26855@psf.upfronthosting.co.za>
In-reply-to
Content
Android framework provides an SDK_INT field [1], which parses the value of `ro.build.version.sdk` and defaults to 0 if failed [2]. Should android_ver() return an integer for the `sdk` field, too? It simplifies the usage in #26935 and similar ones.

[1] https://android.googlesource.com/platform/frameworks/base/+/e8579b12a3c5be5fef25fc5a1c8c2c9d43e49347/core/java/android/os/Build.java#183
[2] https://android.googlesource.com/platform/frameworks/base/+/e8579b12a3c5be5fef25fc5a1c8c2c9d43e49347/core/jni/android_os_SystemProperties.cpp#66
History
Date User Action Args
2016-05-08 15:11:36yan12125setrecipients: + yan12125, lemburg, xdegaye, Roman.Evstifeev, Alex.Willmer
2016-05-08 15:11:36yan12125setmessageid: <1462720296.92.0.741861589625.issue26855@psf.upfronthosting.co.za>
2016-05-08 15:11:36yan12125linkissue26855 messages
2016-05-08 15:11:36yan12125create