blob: 45a07fe9eee3e51dc08a6c0ffa7fd37d3bf15044 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
<issue
id="NewApi"
message="Call requires API level 28 (current min is 23): `android.content.Context#createPackageContextAsUser`"
errorLine1=" userContext = context.createPackageContextAsUser(context.getPackageName(), 0, user);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/RestrictedLockUtils.java"
line="64"
column="35"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 23): `android.app.admin.DevicePolicyManager#getDeviceOwnerUser`"
errorLine1=" if (Objects.equals(dpm.getDeviceOwnerUser(), user)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/RestrictedLockUtils.java"
line="74"
column="32"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 23): `android.app.admin.DevicePolicyManager#getDeviceOwnerComponentOnAnyUser`"
errorLine1=" adminComponent = dpm.getDeviceOwnerComponentOnAnyUser();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/RestrictedLockUtils.java"
line="75"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 24 (current min is 23): `android.os.UserHandle#of`"
errorLine1=" context.startActivityAsUser(intent, UserHandle.of(targetUserId));"
errorLine2=" ~~">
<location
file="frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/RestrictedLockUtils.java"
line="97"
column="56"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 23): `android.content.Context#startActivityAsUser`"
errorLine1=" context.startActivityAsUser(intent, UserHandle.of(targetUserId));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/RestrictedLockUtils.java"
line="97"
column="17"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 24 (current min is 23): `android.os.UserHandle#of`"
errorLine1=" return um.getUserProfiles().contains(UserHandle.of(userId));"
errorLine2=" ~~">
<location
file="frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/RestrictedLockUtils.java"
line="120"
column="57"/>
</issue>
</issues>