Skip to content

Commit ad37a4f

Browse files
author
yuemingw
committed
Revert minSdkversion to 21.
We can revert this as b/122452571 has been fixed. Bug: 121154856 Test: manual Change-Id: Ie64b8eeb8ecc055c4305e6d026c261cce0b48b4f
1 parent 0e8805d commit ad37a4f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ android {
1818

1919
defaultConfig {
2020
applicationId "com.afwsamples.testdpc"
21-
minSdkVersion 28
21+
minSdkVersion 21
2222
targetSdkVersion 'Q'
2323
versionCode versionMajor * 1000 + versionMinor * 100 + versionBuild
2424
versionName "${versionMajor}.${versionMinor}.${versionBuild}"
@@ -45,7 +45,7 @@ android {
4545

4646
lintOptions {
4747
check 'NewApi'
48-
abortOnError true
48+
abortOnError false
4949
xmlReport false
5050
textReport true
5151
textOutput "stdout"

app/src/main/java/com/afwsamples/testdpc/policy/PolicyManagementFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3406,7 +3406,7 @@ private void showSetScreenBrightnessDialog() {
34063406
* Shows a dialog that asks the user for a screen off timeout value, then sets this value as
34073407
* screen off timeout.
34083408
*/
3409-
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
3409+
@TargetApi(Build.VERSION_CODES.P)
34103410
private void showSetScreenOffTimeoutDialog() {
34113411
if (getActivity() == null || getActivity().isFinishing()) {
34123412
return;

0 commit comments

Comments
 (0)