We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bdee2f commit a7febb8Copy full SHA for a7febb8
app/src/main/java/com/afwsamples/testdpc/common/Util.java
@@ -104,8 +104,7 @@ public static boolean isBeforeM() {
104
}
105
106
public static boolean isBeforeN() {
107
- // STOPSHIP Change to SDK_INT.
108
- return isBeforeM() || !Build.VERSION.CODENAME.startsWith("N");
+ return Build.VERSION.SDK_INT < VERSION_CODES.N;
109
110
111
@TargetApi(VERSION_CODES.N)
0 commit comments