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 6349688 commit bd02ff4Copy full SHA for bd02ff4
app/src/main/java/com/afwsamples/testdpc/common/preference/DpcPreferenceHelper.java
@@ -93,8 +93,8 @@ public class DpcPreferenceHelper {
93
* not yet assigned.
94
*/
95
private int getDeviceSdkInt() {
96
- if (BuildCompat.isAtLeastO()) {
97
- return Build.VERSION_CODES.O;
+ if (BuildCompat.isAtLeastOMR1()) {
+ return Build.VERSION_CODES.CUR_DEVELOPMENT;
98
}
99
return Build.VERSION.SDK_INT;
100
app/src/main/res/values/attrs.xml
@@ -26,6 +26,7 @@
26
<enum name="M" value="23" />
27
<enum name="N" value="24" />
28
<enum name="O" value="26" />
29
+ <enum name="O_MR1" value="10000" />
30
<!-- Build.VERSION_CODES.CUR_DEVELOPMENT, fill in the sdk int once it is finalized -->
31
</attr>
32
0 commit comments