Fix typo to track sdk level not release property.
Change-Id: I1a0b80d7ed5c0df046ae08aa37f8aacc433e2621
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/222818
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
diff --git a/src/gpu/gl/GrGLContext.cpp b/src/gpu/gl/GrGLContext.cpp
index 132e3d8..14a4070 100644
--- a/src/gpu/gl/GrGLContext.cpp
+++ b/src/gpu/gl/GrGLContext.cpp
@@ -59,7 +59,7 @@
if (!options.fDisableDriverCorrectnessWorkarounds &&
kAdreno3xx_GrGLRenderer == args.fRenderer) {
char androidAPIVersion[PROP_VALUE_MAX];
- int strLength = __system_property_get("ro.build.version.release", androidAPIVersion);
+ int strLength = __system_property_get("ro.build.version.sdk", androidAPIVersion);
if (strLength == 0 || atoi(androidAPIVersion) < 26) {
args.fGLSLGeneration = k110_GrGLSLGeneration;
}