Skip to content

Commit 12359ba

Browse files
committed
Update SDK version for O MR1
Change-Id: If35be5b5675fa4b795b467dc7a9a20006de6137e
1 parent bd02ff4 commit 12359ba

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/src/main/java/com/afwsamples/testdpc/common/preference/DpcPreferenceHelper.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ public class DpcPreferenceHelper {
9393
* not yet assigned.
9494
*/
9595
private int getDeviceSdkInt() {
96-
if (BuildCompat.isAtLeastOMR1()) {
97-
return Build.VERSION_CODES.CUR_DEVELOPMENT;
98-
}
9996
return Build.VERSION.SDK_INT;
10097
}
10198

app/src/main/res/values/attrs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<enum name="M" value="23" />
2727
<enum name="N" value="24" />
2828
<enum name="O" value="26" />
29-
<enum name="O_MR1" value="10000" />
29+
<enum name="O_MR1" value="27" />
3030
<!-- Build.VERSION_CODES.CUR_DEVELOPMENT, fill in the sdk int once it is finalized -->
3131
</attr>
3232

0 commit comments

Comments
 (0)