NewApi is a lint check that you don't call framework methods that were introduced in versions later than your min_sdk_version. We want to make this an error, so we're baselineing all existing issues. This cl was generated automatically, by taking all the NewApi issues from the reference baselines, and all the non-NewApi issues from the existing checked in baselines. Flag: None Bug: 268261262 Test: Presubmits Change-Id: I26ca494d6089ac145eb5e3d267a9546eceea7c77
15 lines
739 B
XML
15 lines
739 B
XML
<?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="NonUserGetterCalled"
|
|
message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "
|
|
errorLine1=" int isDisabled = Settings.Secure.getInt(mContext.getContentResolver(),"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="frameworks/base/services/usb/java/com/android/server/usb/UsbAlsaManager.java"
|
|
line="150"
|
|
column="42"/>
|
|
</issue>
|
|
|
|
</issues> |