<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.1.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.1.0-alpha01">
<issue
id="MissingClass"
message="Class referenced in the manifest, `org.chromium.test.broker.OnDeviceInstrumentationBroker`, was not found in the project or the libraries"
errorLine1=" <activity android:name="org.chromium.test.broker.OnDeviceInstrumentationBroker" android:exported="true"/>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="gen/android_webview/tools/system_webview_shell/system_webview_shell_apk__lint/gen/android_webview/system_webview_shell_apk/AndroidManifest.xml"
line="187"
column="29"/>
</issue>
<issue
id="RequiresFeature"
message="`getInstance` should only be called if the feature `TRACING_CONTROLLER_BASIC_USAGE` is present; to check call `androidx.webkit.WebViewFeature#isFeatureSupported`"
errorLine1=" TracingController tracingController = TracingController.getInstance();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/WebViewBrowserActivity.java"
line="750"
column="51"/>
</issue>
<issue
id="RequiresFeature"
message="`setForceDark` should only be called if the feature `FORCE_DARK` is present; to check call `androidx.webkit.WebViewFeature#isFeatureSupported`"
errorLine1=" WebSettingsCompat.setForceDark("
errorLine2=" ^">
<location
file="../../android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/WebViewBrowserActivity.java"
line="771"
column="13"/>
</issue>
<issue
id="RequiresFeature"
message="`setForceDark` should only be called if the feature `FORCE_DARK` is present; to check call `androidx.webkit.WebViewFeature#isFeatureSupported`"
errorLine1=" WebSettingsCompat.setForceDark("
errorLine2=" ^">
<location
file="../../android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/WebViewBrowserActivity.java"
line="776"
column="13"/>
</issue>
<issue
id="RequiresFeature"
message="`setForceDark` should only be called if the feature `FORCE_DARK` is present; to check call `androidx.webkit.WebViewFeature#isFeatureSupported`"
errorLine1=" WebSettingsCompat.setForceDark(mWebView.getSettings(), WebSettingsCompat.FORCE_DARK_ON);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/WebViewBrowserActivity.java"
line="781"
column="13"/>
</issue>
<issue
id="RequiresFeature"
message="`getInstance` should only be called if the feature `TRACING_CONTROLLER_BASIC_USAGE` is present; to check call `androidx.webkit.WebViewFeature#isFeatureSupported`"
errorLine1=" final TracingController tracingController = TracingController.getInstance();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/WebViewTracingActivity.java"
line="100"
column="53"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Status.PENDING, Status.RUNNING, Status.FINISHED"
errorLine1=" GET_STATUS_UMA_HISTOGRAM, status, Status.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/task/AsyncTask.java"
line="315"
column="62"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Status.PENDING, Status.RUNNING, Status.FINISHED"
errorLine1=" GET_STATUS_UMA_HISTOGRAM, status, Status.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/task/AsyncTask.java"
line="353"
column="62"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Notification.UNKNOWN_TRIM_LEVEL, Notification.TRIM_MEMORY_COMPLETE, Notification.TRIM_MEMORY_MODERATE, Notification.TRIM_MEMORY_BACKGROUND, Notification.TRIM_MEMORY_UI_HIDDEN, Notification.TRIM_MEMORY_RUNNING_CRITICAL, Notification.TRIM_MEMORY_RUNNING_LOW, Notification.TRIM_MEMORY_RUNNING_MODERATE, Notification.ON_LOW_MEMORY"
errorLine1=" mHistogramName, notification, Notification.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java"
line="110"
column="60"/>
</issue>
<issue
id="AppBundleLocaleChanges"
message="Found dynamic locale changes, but did not find corresponding Play Core library calls for downloading languages and splitting by language is not disabled in the `bundle` configuration"
errorLine1=" config.setLocale(Locale.forLanguageTag(languageTag));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/LocaleUtils.java"
line="267"
column="13"/>
</issue>
<issue
id="QueryPermissionsNeeded"
message="Consider adding a `<queries>` declaration to your manifest when calling this \
method; see https://g.co/dev/packagevisibility for details"
errorLine1=" return pm.queryIntentActivities(intent, flags);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/PackageManagerUtils.java"
line="63"
column="23"/>
</issue>
<issue
id="UseCompatLoadingForDrawables"
message="Use `ResourcesCompat.getDrawable()`"
errorLine1=" return res.getDrawable(id, null);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java"
line="214"
column="24"/>
</issue>
<issue
id="HardcodedDebugMode"
message="Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one"
errorLine1=" <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/ShellTheme" android:enableOnBackInvokedCallback="true" android:networkSecurityConfig="@xml/network_security_config" android:debuggable="true">"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="gen/android_webview/tools/system_webview_shell/system_webview_shell_apk__lint/gen/android_webview/system_webview_shell_apk/AndroidManifest.xml"
line="69"
column="224"/>
</issue>
<issue
id="UnspecifiedRegisterReceiverFlag"
message="`receiver` \
is missing `RECEIVER_EXPORTED` or `RECEIVER_NOT_EXPORTED` flag for unprotected \
broadcasts registered for an IntentFilter that cannot be inspected by lint"
errorLine1=" return context.registerReceiver(receiver, filter, permission, scheduler);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/ContextUtils.java"
line="307"
column="20"/>
</issue>
<issue
id="AssertionSideEffect"
message="Assertion condition has a side effect: f.setAccessible(true)"
errorLine1=" assert reachesWindowCallback(activity.getWindow().getCallback());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/ApplicationStatus.java"
line="351"
column="28"/>
</issue>
<issue
id="AssertionSideEffect"
message="Assertion condition has a side effect: sHaveAccessNetworkState =
 ApiCompatibilityUtils.checkPermission(ContextUtils.getApplicationContext(),
 Manifest.permission.ACCESS_NETWORK_STATE, Process.myPid(),
 Process.myUid())
 == PackageManager.PERMISSION_GRANTED"
errorLine1=" assert isSupported();"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/RadioUtils.java"
line="80"
column="16"/>
</issue>
<issue
id="AssertionSideEffect"
message="Assertion condition has a side effect: sHaveAccessNetworkState =
 ApiCompatibilityUtils.checkPermission(ContextUtils.getApplicationContext(),
 Manifest.permission.ACCESS_NETWORK_STATE, Process.myPid(),
 Process.myUid())
 == PackageManager.PERMISSION_GRANTED"
errorLine1=" assert isSupported();"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/RadioUtils.java"
line="105"
column="16"/>
</issue>
<issue
id="AssertionSideEffect"
message="Assertion condition has a side effect: sHaveAccessNetworkState =
 ApiCompatibilityUtils.checkPermission(ContextUtils.getApplicationContext(),
 Manifest.permission.ACCESS_NETWORK_STATE, Process.myPid(),
 Process.myUid())
 == PackageManager.PERMISSION_GRANTED"
errorLine1=" assert isSupported();"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../base/android/java/src/org/chromium/base/RadioUtils.java"
line="131"
column="16"/>
</issue>
<issue
id="IconMissingDensityFolder"
message="Missing density variation folders in `../../android_webview/tools/system_webview_shell/apk/res`: drawable-hdpi, drawable-xhdpi, drawable-xxhdpi">
<location
file="../../android_webview/tools/system_webview_shell/apk/res"/>
</issue>
</issues>