blob: 732350221092cd5e5648c08b27f07a679bff397f [file] [log] [blame]
<?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="ResourceType"
message="Expected resource of type styleable"
errorLine1=" R.style.SelectPopupDialog, SELECT_DIALOG_ATTRS);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDialog.java"
line="115"
column="44"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type color"
errorLine1=" StatusIconResource statusIcon = icon == 0 ? null : new StatusIconResource(icon, tint);"
errorLine2=" ~~~~">
<location
file="../../chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/status/StatusMediator.java"
line="495"
column="89"/>
</issue>
<issue
id="DiscouragedPrivateApi"
message="Reflective access to sPackageManager, which is not part of the public SDK and therefore likely to change in future Android releases"
errorLine1=" Field packageManagerField = activityThreadClass.getDeclaredField(&quot;sPackageManager&quot;);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/embedder_support/android/java/src/org/chromium/components/embedder_support/application/FontPreloadingWorkaround.java"
line="68"
column="41"/>
</issue>
<issue
id="DiscouragedPrivateApi"
message="Reflective access to violationsBeingTimed, which is not part of the public SDK and therefore likely to change in future Android releases"
errorLine1=" Field violationTimingField = StrictMode.class.getDeclaredField(&quot;violationsBeingTimed&quot;);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/strictmode/android/java/src/org/chromium/components/strictmode/ReflectiveThreadStrictModeInterceptor.java"
line="104"
column="38"/>
</issue>
<issue
id="DiscouragedPrivateApi"
message="Reflective access to mask, which is not part of the public SDK and therefore likely to change in future Android releases"
errorLine1=" field = StrictMode.ThreadPolicy.class.getDeclaredField(&quot;mask&quot;);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/interfaces/StrictModeWorkaround.java"
line="32"
column="21"/>
</issue>
<issue
id="InternalInsetResource"
message="Using internal inset dimension resource `status_bar_height` is not supported"
errorLine1=" resources.getIdentifier(&quot;status_bar_height&quot;, &quot;dimen&quot;, &quot;android&quot;);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/password_manager/AccountChooserDialog.java"
line="249"
column="17"/>
</issue>
<issue
id="InternalInsetResource"
message="Using internal inset dimension resource `status_bar_height` is not supported"
errorLine1=" mActivity.getResources().getIdentifier(&quot;status_bar_height&quot;, &quot;dimen&quot;, &quot;android&quot;);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/features/partialcustomtab/PartialCustomTabVersionCompat.java"
line="214"
column="21"/>
</issue>
<issue
id="InternalInsetResource"
message="Using internal inset dimension resource `status_bar_height` is not supported"
errorLine1=" int statusBarId = resources.getIdentifier(&quot;status_bar_height&quot;, &quot;dimen&quot;, &quot;android&quot;);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/tab/TabUtils.java"
line="113"
column="27"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `shouldQueryAutofillSuggestion`"
errorLine1=" if (mAutofillMenuItemTitle != 0 &amp;&amp; mAutofillProvider.shouldQueryAutofillSuggestion()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/android_autofill/browser/java/src/org/chromium/components/autofill/AutofillActionModeCallback.java"
line="43"
column="62"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `queryAutofillSuggestion`"
errorLine1=" mAutofillProvider.queryAutofillSuggestion();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/android_autofill/browser/java/src/org/chromium/components/autofill/AutofillActionModeCallback.java"
line="55"
column="31"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `deleteLegacyChannels`"
errorLine1=" mChannelsInitializer.deleteLegacyChannels();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/browser/notifications/android/java/src/org/chromium/chrome/browser/notifications/channels/ChannelsUpdater.java"
line="73"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `initializeStartupChannels`"
errorLine1=" mChannelsInitializer.initializeStartupChannels();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/browser/notifications/android/java/src/org/chromium/chrome/browser/notifications/channels/ChannelsUpdater.java"
line="74"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `updateLocale`"
errorLine1=" mChannelsInitializer.updateLocale(ContextUtils.getApplicationContext().getResources());"
errorLine2=" ~~~~~~~~~~~~">
<location
file="../../chrome/browser/notifications/android/java/src/org/chromium/chrome/browser/notifications/channels/ChannelsUpdater.java"
line="83"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `onFrameworkExitedPictureInPicture`"
errorLine1=" mFullscreenVideoPictureInPictureController.onFrameworkExitedPictureInPicture();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java"
line="1164"
column="56"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `FullscreenVideoPictureInPictureController`"
errorLine1=" new FullscreenVideoPictureInPictureController("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java"
line="1173"
column="21"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `attemptPictureInPicture`"
errorLine1=" mFullscreenVideoPictureInPictureController.attemptPictureInPicture();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java"
line="1188"
column="52"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `onFrameworkExitedPictureInPicture`"
errorLine1=" mFullscreenVideoPictureInPictureController.onFrameworkExitedPictureInPicture();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/app/ChromeActivity.java"
line="1254"
column="56"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `getInstance`"
errorLine1=" return SiteChannelsManager.getInstance();"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/dependency_injection/ChromeAppModule.java"
line="76"
column="36"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `getChannelIdForOrigin`"
errorLine1=" return SiteChannelsManager.getInstance().getChannelIdForOrigin(origin);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/site_settings/ChromeSiteSettingsDelegate.java"
line="155"
column="50"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `getInstance`"
errorLine1=" return SiteChannelsManager.getInstance().getChannelIdForOrigin(origin);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/site_settings/ChromeSiteSettingsDelegate.java"
line="155"
column="36"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 25 (current min is 24): `reportNewTabShortcutUsed`"
errorLine1=" reportNewTabShortcutUsed(false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java"
line="1586"
column="25"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 25 (current min is 24): `reportNewTabShortcutUsed`"
errorLine1=" reportNewTabShortcutUsed(true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java"
line="1626"
column="29"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 25 (current min is 24): `reportNewTabShortcutUsed`"
errorLine1=" reportNewTabShortcutUsed(false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java"
line="2143"
column="13"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 25 (current min is 24): `reportNewTabShortcutUsed`"
errorLine1=" reportNewTabShortcutUsed(true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java"
line="2157"
column="17"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `clearAllContentCaptureData`"
errorLine1=" contentCaptureController.clearAllContentCaptureData();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/content_capture/ContentCaptureHistoryDeletionObserver.java"
line="30"
column="38"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `clearContentCaptureDataForURLs`"
errorLine1=" contentCaptureController.clearContentCaptureDataForURLs(deletedURLs);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/content_capture/ContentCaptureHistoryDeletionObserver.java"
line="35"
column="46"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `notifyViewAppeared`"
errorLine1=" return notifyViewAppeared(parentPlatformSessionData, data);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentCapturedTask.java"
line="23"
column="16"/>
</issue>
<issue
id="NewApi"
message="Extending NotificationTask requires API level 29 (current min is 24): `NotificationTask`"
errorLine1="class ContentRemovedTask extends NotificationTask {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="12"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `NotificationTask`"
errorLine1=" super(session, platformSession);"
errorLine2=" ~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="17"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `log`"
errorLine1=" log(&quot;ContentRemovedTask.removeContent&quot;);"
errorLine2=" ~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="27"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `buildCurrentSession`"
errorLine1=" PlatformSessionData platformSessionData = buildCurrentSession();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="28"
column="51"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyViewsDisappeared("
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="30"
column="28"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `notifyViewsDisappeared`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyViewsDisappeared("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="30"
column="42"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `contentCaptureSession`"
errorLine1=" platformSessionData.contentCaptureSession,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="31"
column="37"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getRootPlatformSessionData`"
errorLine1=" mPlatformSession.getRootPlatformSessionData().autofillId, mRemovedIds);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="32"
column="34"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `autofillId`"
errorLine1=" mPlatformSession.getRootPlatformSessionData().autofillId, mRemovedIds);"
errorLine2=" ~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="32"
column="63"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mPlatformSession`"
errorLine1=" mPlatformSession.getRootPlatformSessionData().autofillId, mRemovedIds);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentRemovedTask.java"
line="32"
column="17"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" AutofillId autofillId = PlatformAPIWrapper.getInstance().newAutofillId("
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentUpdateTask.java"
line="28"
column="52"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `newAutofillId`"
errorLine1=" AutofillId autofillId = PlatformAPIWrapper.getInstance().newAutofillId("
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentUpdateTask.java"
line="28"
column="66"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `contentCaptureSession`"
errorLine1=" parentPlatformSessionData.contentCaptureSession,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentUpdateTask.java"
line="29"
column="43"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getRootPlatformSessionData`"
errorLine1=" mPlatformSession.getRootPlatformSessionData().autofillId, data.getId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentUpdateTask.java"
line="30"
column="34"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `autofillId`"
errorLine1=" mPlatformSession.getRootPlatformSessionData().autofillId, data.getId());"
errorLine2=" ~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentUpdateTask.java"
line="30"
column="63"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mPlatformSession`"
errorLine1=" mPlatformSession.getRootPlatformSessionData().autofillId, data.getId());"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentUpdateTask.java"
line="30"
column="17"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyViewTextChanged("
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentUpdateTask.java"
line="31"
column="28"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `notifyViewTextChanged`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyViewTextChanged("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentUpdateTask.java"
line="31"
column="42"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `contentCaptureSession`"
errorLine1=" parentPlatformSessionData.contentCaptureSession, autofillId, data.getValue());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ContentUpdateTask.java"
line="32"
column="43"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 30 (current min is 24): `collectAndWriteAnrs`"
errorLine1=" List&lt;String> anrs = AnrCollector.collectAndWriteAnrs(anrDir);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/CrashFileManager.java"
line="371"
column="46"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getDownloadUriForFileName`"
errorLine1=" return getDownloadUriForFileName(fileName) != null;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/download/internal/common/android/java/src/org/chromium/components/download/DownloadCollectionBridge.java"
line="244"
column="16"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `createPendingParams`"
errorLine1=" createPendingParams(fileName, mimeType, originalUrl, referrer);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/download/internal/common/android/java/src/org/chromium/components/download/DownloadCollectionBridge.java"
line="345"
column="17"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getDownloadUriForFileName`"
errorLine1=" Uri uri = DownloadCollectionBridge.getDownloadUriForFileName(file.getName());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DuplicateDownloadClickableSpan.java"
line="56"
column="52"/>
</issue>
<issue
id="NewApi"
message="Extending NotificationTask requires API level 29 (current min is 24): `NotificationTask`"
errorLine1="public class FaviconUpdateTask extends NotificationTask {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/FaviconUpdateTask.java"
line="12"
column="40"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `NotificationTask`"
errorLine1=" super(session, platformSession);"
errorLine2=" ~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/FaviconUpdateTask.java"
line="14"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `log`"
errorLine1=" log(&quot;FaviconUpdateTask.updateFavicon&quot;);"
errorLine2=" ~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/FaviconUpdateTask.java"
line="23"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `buildCurrentSession`"
errorLine1=" PlatformSessionData parentPlatformSessionData = buildCurrentSession();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/FaviconUpdateTask.java"
line="24"
column="57"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyFaviconUpdated("
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/FaviconUpdateTask.java"
line="26"
column="28"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `notifyFaviconUpdated`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyFaviconUpdated("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/FaviconUpdateTask.java"
line="26"
column="42"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `contentCaptureSession`"
errorLine1=" parentPlatformSessionData.contentCaptureSession, mSession.get(0).getFavicon());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/FaviconUpdateTask.java"
line="27"
column="43"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mSession`"
errorLine1=" parentPlatformSessionData.contentCaptureSession, mSession.get(0).getFavicon());"
errorLine2=" ~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/FaviconUpdateTask.java"
line="27"
column="66"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `addDirectAction`"
errorLine1=" reporter.addDirectAction(ACTION_ID).withParameter("
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/directactions/FindInPageDirectActionHandler.java"
line="35"
column="22"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `withParameter`"
errorLine1=" reporter.addDirectAction(ACTION_ID).withParameter("
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/directactions/FindInPageDirectActionHandler.java"
line="35"
column="49"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `setPasteAsPlainTextMenuItemTitle`"
errorLine1=" SelectionPopupControllerImpl.setPasteAsPlainTextMenuItemTitle(menu);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/FloatingPastePopupMenu.java"
line="90"
column="42"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 26): `setAutoEnterEnabled`"
errorLine1=" ApiHelperForS.setAutoEnterEnabled(builder, true);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/media/FullscreenVideoPictureInPictureController.java"
line="436"
column="27"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 26): `setAutoEnterEnabled`"
errorLine1=" ApiHelperForS.setAutoEnterEnabled(builder, false);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/media/FullscreenVideoPictureInPictureController.java"
line="438"
column="27"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 26 (current min is 24): `CREATOR`"
errorLine1=" _arg0 = data.createTypedArrayList(org.chromium.components.autofill_public.ViewType.CREATOR);"
errorLine2=" ~~~~~~~">
<location
file="gen/chrome/android/monochrome_public_bundle__lint/SRCJARS/gen/components/android_autofill/browser/autofill_aidl/org/chromium/components/autofill_public/IViewTypeCallback.java"
line="72"
column="94"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `onLocaleChanged`"
errorLine1=" WebLayerNotificationChannels.onLocaleChanged();"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/LocaleChangedBroadcastReceiver.java"
line="37"
column="38"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `addDirectAction`"
errorLine1=" reporter.addDirectAction(entry.getKey());"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/directactions/MenuDirectActionHandler.java"
line="103"
column="26"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 30 (current min is 24): `getExitReason`"
errorLine1=" int reason = ProcessExitReasonFromSystem.getExitReason(previousPid);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/crash/MinidumpUploadServiceImpl.java"
line="154"
column="54"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `isValidSiteChannelId`"
errorLine1=" if (channelId == null || !SiteChannelsManager.isValidSiteChannelId(channelId)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java"
line="416"
column="55"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `toSiteOrigin`"
errorLine1=" return SiteChannelsManager.toSiteOrigin(channelId);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java"
line="419"
column="36"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 28 (current min is 24): `getBitmapFromIcon`"
errorLine1=" return getBitmapFromIcon(notification.getLargeIcon());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/usage_stats/NotificationSuspender.java"
line="144"
column="16"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 28 (current min is 24): `getBitmapFromIcon`"
errorLine1=" return getBitmapFromIcon(notification.getSmallIcon());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/usage_stats/NotificationSuspender.java"
line="148"
column="16"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `ChannelsInitializer`"
errorLine1=" ChannelsInitializer channelsInitializer = new ChannelsInitializer(notificationManagerProxy,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/browser/notifications/android/java/src/org/chromium/chrome/browser/notifications/NotificationWrapperBuilderFactory.java"
line="46"
column="51"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `getInstance`"
errorLine1=" ChromeChannelDefinitions.getInstance(), context.getResources());"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/notifications/android/java/src/org/chromium/chrome/browser/notifications/NotificationWrapperBuilderFactory.java"
line="47"
column="42"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 30 (current min is 24): `getMaximumWindowMetricsBounds`"
errorLine1=" Rect rect = ApiHelperForR.getMaximumWindowMetricsBounds(windowManager);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../ui/android/java/src/org/chromium/ui/display/PhysicalDisplayAndroid.java"
line="174"
column="35"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 30 (current min is 24): `getDisplay`"
errorLine1=" ApiHelperForR.getDisplay(mWindowContext));"
errorLine2=" ~~~~~~~~~~">
<location
file="../../ui/android/java/src/org/chromium/ui/display/PhysicalDisplayAndroid.java"
line="178"
column="31"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `createNotificationChannel`"
errorLine1=" mNotificationManager.createNotificationChannel();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/PriceMessageService.java"
line="242"
column="38"/>
</issue>
<issue
id="NewApi"
message="Extending NotificationTask requires API level 29 (current min is 24): `NotificationTask`"
errorLine1="abstract class ProcessContentCaptureDataTask extends NotificationTask {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ProcessContentCaptureDataTask.java"
line="16"
column="54"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `NotificationTask`"
errorLine1=" super(session, platformSession);"
errorLine2=" ~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ProcessContentCaptureDataTask.java"
line="25"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `log`"
errorLine1=" log(&quot;ProcessContentTaskBase.processContent&quot;);"
errorLine2=" ~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ProcessContentCaptureDataTask.java"
line="35"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `buildCurrentSession`"
errorLine1=" PlatformSessionData platformSessionData = buildCurrentSession();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ProcessContentCaptureDataTask.java"
line="36"
column="51"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `createOrGetSession`"
errorLine1=" createOrGetSession(parentPlatformSessionData, data);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ProcessContentCaptureDataTask.java"
line="45"
column="17"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `PlatformSessionData`"
errorLine1=" PlatformSessionData platformSessionData = new PlatformSessionData("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ProcessContentCaptureDataTask.java"
line="64"
column="55"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `contentCaptureSession`"
errorLine1=" parentPlatformSessionData.contentCaptureSession, autofillId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/ProcessContentCaptureDataTask.java"
line="65"
column="47"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 30 (current min is 24): `getExitReason`"
errorLine1=" recordAsEnumHistogram(umaName, getExitReason(pid));"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../components/crash/android/java/src/org/chromium/components/crash/browser/ProcessExitReasonFromSystem.java"
line="80"
column="40"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" () -> PlatformContentCaptureController.getInstance()));"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/init/ProcessInitializationHandler.java"
line="256"
column="56"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" PlatformContentCaptureController.getInstance();"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/ProfileImpl.java"
line="281"
column="50"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `clearAllContentCaptureData`"
errorLine1=" controller.clearAllContentCaptureData();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/ProfileImpl.java"
line="285"
column="32"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `onPerformDirectAction`"
errorLine1=" mDirectActionInitializer.onPerformDirectAction("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java"
line="997"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `onGetDirectActions`"
errorLine1=" mDirectActionInitializer.onGetDirectActions(cancellationSignal, callback);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java"
line="1012"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `DirectActionInitializer`"
errorLine1=" mDirectActionInitializer = new DirectActionInitializer(mActivityType,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ui/RootUiCoordinator.java"
line="1465"
column="36"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 28 (current min is 24): `onSelectionModified`"
errorLine1=" mSmartSelectionEventProcessor.onSelectionModified("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SelectionPopupControllerImpl.java"
line="445"
column="55"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 28 (current min is 24): `onSelectionAction`"
errorLine1=" mSmartSelectionEventProcessor.onSelectionAction(mLastSelectedText,"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SelectionPopupControllerImpl.java"
line="449"
column="55"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 28 (current min is 24): `onSelectionStarted`"
errorLine1=" mSmartSelectionEventProcessor.onSelectionStarted("
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SelectionPopupControllerImpl.java"
line="456"
column="55"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `setPasteAsPlainTextMenuItemTitle`"
errorLine1=" setPasteAsPlainTextMenuItemTitle(menu);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SelectionPopupControllerImpl.java"
line="792"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 28 (current min is 24): `onSelectionAction`"
errorLine1=" mSmartSelectionEventProcessor.onSelectionAction(mLastSelectedText, mLastSelectionOffset,"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SelectionPopupControllerImpl.java"
line="919"
column="43"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 28 (current min is 24): `onSelectionAction`"
errorLine1=" mSmartSelectionEventProcessor.onSelectionAction(mLastSelectedText,"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SelectionPopupControllerImpl.java"
line="1445"
column="47"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 28 (current min is 24): `onSelectionModified`"
errorLine1=" mSmartSelectionEventProcessor.onSelectionModified("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SelectionPopupControllerImpl.java"
line="1591"
column="47"/>
</issue>
<issue
id="NewApi"
message="Extending NotificationTask requires API level 29 (current min is 24): `NotificationTask`"
errorLine1="class SessionRemovedTask extends NotificationTask {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="12"
column="34"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `NotificationTask`"
errorLine1=" super(session, platformSession);"
errorLine2=" ~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="14"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `log`"
errorLine1=" log(&quot;SessionRemovedTask.removeSession&quot;);"
errorLine2=" ~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="23"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getFrameIdToPlatformSessionData`"
errorLine1=" mPlatformSession.getFrameIdToPlatformSessionData().remove(mSession.get(0).getId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="25"
column="34"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mPlatformSession`"
errorLine1=" mPlatformSession.getFrameIdToPlatformSessionData().remove(mSession.get(0).getId());"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="25"
column="17"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mSession`"
errorLine1=" mPlatformSession.getFrameIdToPlatformSessionData().remove(mSession.get(0).getId());"
errorLine2=" ~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="25"
column="75"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `destroyContentCaptureSession`"
errorLine1=" PlatformAPIWrapper.getInstance().destroyContentCaptureSession("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="27"
column="42"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" PlatformAPIWrapper.getInstance().destroyContentCaptureSession("
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="27"
column="28"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `contentCaptureSession`"
errorLine1=" removedPlatformSessionData.contentCaptureSession);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="28"
column="44"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getRootPlatformSessionData`"
errorLine1=" mPlatformSession.getRootPlatformSessionData();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="30"
column="34"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mPlatformSession`"
errorLine1=" mPlatformSession.getRootPlatformSessionData();"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="30"
column="17"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mSession`"
errorLine1=" if (mSession.size() > 2) {"
errorLine2=" ~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="34"
column="13"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getFrameIdToPlatformSessionData`"
errorLine1=" mPlatformSession.getFrameIdToPlatformSessionData().get(mSession.get(1).getId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="36"
column="38"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mPlatformSession`"
errorLine1=" mPlatformSession.getFrameIdToPlatformSessionData().get(mSession.get(1).getId());"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="36"
column="21"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mSession`"
errorLine1=" mPlatformSession.getFrameIdToPlatformSessionData().get(mSession.get(1).getId());"
errorLine2=" ~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="36"
column="76"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyViewDisappeared("
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="39"
column="28"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `notifyViewDisappeared`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyViewDisappeared("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="39"
column="42"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `contentCaptureSession`"
errorLine1=" parentPlatformSessionData.contentCaptureSession,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="40"
column="43"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `autofillId`"
errorLine1=" removedPlatformSessionData.autofillId);"
errorLine2=" ~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/SessionRemovedTask.java"
line="41"
column="44"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `addDirectAction`"
errorLine1=" if (isAvailable()) reporter.addDirectAction(mActionId);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/directactions/SimpleDirectActionHandler.java"
line="24"
column="37"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `setTextClassifier`"
errorLine1=" mProvider.setTextClassifier(textClassifier);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SmartSelectionClient.java"
line="127"
column="19"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `getTextClassifier`"
errorLine1=" return mProvider.getTextClassifier();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SmartSelectionClient.java"
line="132"
column="26"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `sendSmartSelectionRequest`"
errorLine1=" sendSmartSelectionRequest(RequestType.SUGGEST_AND_CLASSIFY, text, start, end);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SmartSelectionProvider.java"
line="82"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `sendSmartSelectionRequest`"
errorLine1=" sendSmartSelectionRequest(RequestType.CLASSIFY, text, start, end);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/selection/SmartSelectionProvider.java"
line="86"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `android.view.SurfaceControl#writeToParcel`"
errorLine1=" mSurfaceControl.writeToParcel(out, 0);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/common/SurfaceWrapper.java"
line="85"
column="29"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `onProvideAutoFillVirtualStructure`"
errorLine1=" mAutofillProvider.onProvideAutoFillVirtualStructure(structure, flags);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/TabImpl.java"
line="382"
column="27"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `autofill`"
errorLine1=" mAutofillProvider.autofill(values);"
errorLine2=" ~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/TabImpl.java"
line="387"
column="27"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `hidePopup`"
errorLine1=" mAutofillProvider.hidePopup();"
errorLine2=" ~~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/TabImpl.java"
line="434"
column="31"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `destroy`"
errorLine1=" mAutofillProvider.destroy();"
errorLine2=" ~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/TabImpl.java"
line="1040"
column="31"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 27 (current min is 24): `setNavigationBarScrimFraction`"
errorLine1=" controller.setNavigationBarScrimFraction(scrimFraction);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedRootUiCoordinator.java"
line="652"
column="36"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 27 (current min is 24): `destroy`"
errorLine1=" if (mNavigationBarColorController != null) mNavigationBarColorController.destroy();"
errorLine2=" ~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/tabbed_mode/TabbedSystemUiCoordinator.java"
line="55"
column="82"/>
</issue>
<issue
id="NewApi"
message="Extending NotificationTask requires API level 29 (current min is 24): `NotificationTask`"
errorLine1="public class TitleUpdateTask extends NotificationTask {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="14"
column="38"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `NotificationTask`"
errorLine1=" super(null, platformSession);"
errorLine2=" ~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="17"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `log`"
errorLine1=" log(&quot;TitleUpdateTask.updateTitle&quot;);"
errorLine2=" ~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="27"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `buildCurrentSession`"
errorLine1=" PlatformSessionData parentPlatformSessionData = buildCurrentSession();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="30"
column="57"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" AutofillId autofillId = PlatformAPIWrapper.getInstance().newAutofillId("
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="31"
column="52"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `newAutofillId`"
errorLine1=" AutofillId autofillId = PlatformAPIWrapper.getInstance().newAutofillId("
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="31"
column="66"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `contentCaptureSession`"
errorLine1=" parentPlatformSessionData.contentCaptureSession,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="32"
column="43"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getRootPlatformSessionData`"
errorLine1=" mPlatformSession.getRootPlatformSessionData().autofillId, mMainFrame.getId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="33"
column="34"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `autofillId`"
errorLine1=" mPlatformSession.getRootPlatformSessionData().autofillId, mMainFrame.getId());"
errorLine2=" ~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="33"
column="63"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `mPlatformSession`"
errorLine1=" mPlatformSession.getRootPlatformSessionData().autofillId, mMainFrame.getId());"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="33"
column="17"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `getInstance`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyViewTextChanged("
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="34"
column="28"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `notifyViewTextChanged`"
errorLine1=" PlatformAPIWrapper.getInstance().notifyViewTextChanged("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="34"
column="42"/>
</issue>
<issue
id="NewApi"
message="Field requires API level 29 (current min is 24): `contentCaptureSession`"
errorLine1=" parentPlatformSessionData.contentCaptureSession, autofillId, mMainFrame.getText());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/content_capture/android/java/src/org/chromium/components/content_capture/TitleUpdateTask.java"
line="35"
column="43"/>
</issue>
<issue
id="NewApi"
message="Extending ZygotePreload requires API level 29 (current min is 24): `ZygotePreload`"
errorLine1="public class TrichromeZygotePreload extends ZygotePreload {"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/app/TrichromeZygotePreload.java"
line="16"
column="45"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 29 (current min is 24): `doPreloadCommon`"
errorLine1=" doPreloadCommon(appInfo);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/app/TrichromeZygotePreload.java"
line="24"
column="9"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `updateChannelsIfNecessary`"
errorLine1=" WebLayerNotificationChannels.updateChannelsIfNecessary();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/WebLayerImpl.java"
line="329"
column="38"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `ChannelsInitializer`"
errorLine1=" new ChannelsInitializer(new NotificationManagerProxyImpl(appContext),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/WebLayerNotificationWrapperBuilder.java"
line="30"
column="17"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `getInstance`"
errorLine1=" WebLayerNotificationChannels.getInstance(), appContext.getResources());"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../weblayer/browser/java/org/chromium/weblayer_private/WebLayerNotificationWrapperBuilder.java"
line="31"
column="54"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 26 (current min is 24): `addShortcutWithShortcutManager`"
errorLine1=" addShortcutWithShortcutManager(id, title, icon, isIconAdaptive, shortcutIntent);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/webapps/browser/android/java/src/org/chromium/components/webapps/WebappsUtils.java"
line="70"
column="13"/>
</issue>
<issue
id="SuspiciousIndentation"
message="Suspicious indentation: This is indented but is not nested under the previous expression (`if (!LibraryLoader.g`...)"
errorLine1=" RecordHistogram.recordEnumeratedHistogram("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationUmaHelper.java"
line="113"
column="13"/>
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationUmaHelper.java"
line="112"
column="9"
message="Previous statement here"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: AdaptiveToolbarRadioButtonState.UNKNOWN, AdaptiveToolbarRadioButtonState.AUTO_WITH_NEW_TAB, AdaptiveToolbarRadioButtonState.AUTO_WITH_SHARE, AdaptiveToolbarRadioButtonState.AUTO_WITH_VOICE, AdaptiveToolbarRadioButtonState.NEW_TAB, AdaptiveToolbarRadioButtonState.SHARE, AdaptiveToolbarRadioButtonState.VOICE"
errorLine1=" AdaptiveToolbarRadioButtonState.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/adaptive/AdaptiveToolbarStats.java"
line="49"
column="53"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: SettingsNavigationSource.OTHER, SettingsNavigationSource.TWA_CLEAR_DATA_DIALOG, SettingsNavigationSource.TWA_MANAGE_SPACE_ACTIVITY"
errorLine1=" SettingsNavigationSource.EXTRA_KEY, SettingsNavigationSource.OTHER);"
errorLine2=" ~~~~~~~~~">
<location
file="../../components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/AllSiteSettings.java"
line="289"
column="42"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: SettingsNavigationSource.OTHER, SettingsNavigationSource.TWA_CLEAR_DATA_DIALOG, SettingsNavigationSource.TWA_MANAGE_SPACE_ACTIVITY"
errorLine1=" final String extraKey = SettingsNavigationSource.EXTRA_KEY;"
errorLine2=" ~~~~~~~~~">
<location
file="../../components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/AllSiteSettings.java"
line="295"
column="58"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CacheHit.WITH_ENTITY, CacheHit.WITHOUT_ENTITY, CacheHit.MISS"
errorLine1=" &quot;CopylessPaste.CacheHit&quot;, CacheHit.WITH_ENTITY, CacheHit.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/AppIndexingUtil.java"
line="101"
column="82"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CacheHit.WITH_ENTITY, CacheHit.WITHOUT_ENTITY, CacheHit.MISS"
errorLine1=" &quot;CopylessPaste.CacheHit&quot;, CacheHit.WITHOUT_ENTITY, CacheHit.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/AppIndexingUtil.java"
line="106"
column="81"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CacheHit.WITH_ENTITY, CacheHit.WITHOUT_ENTITY, CacheHit.MISS"
errorLine1=" &quot;CopylessPaste.CacheHit&quot;, CacheHit.MISS, CacheHit.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/AppIndexingUtil.java"
line="110"
column="71"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ActionType.DISMISSED_CANCEL_BUTTON, ActionType.DISMISSED_SYSTEM_BACK, ActionType.OK_CHANGE_LANGUAGE, ActionType.OK_SAME_LANGUAGE, ActionType.OTHER"
errorLine1=" &quot;LanguageSettings.AppLanguagePrompt.Action&quot;, actionType, ActionType.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/AppLanguagePromoDialog.java"
line="618"
column="85"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: BlockDrawForInitialTabAccuracy.BLOCKED_CORRECTLY, BlockDrawForInitialTabAccuracy.BLOCKED_BUT_SHOULD_NOT_HAVE, BlockDrawForInitialTabAccuracy.DID_NOT_BLOCK_BUT_SHOULD_HAVE, BlockDrawForInitialTabAccuracy.CORRECTLY_DID_NOT_BLOCK"
errorLine1=" BlockDrawForInitialTabAccuracy.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ui/AppLaunchDrawBlocker.java"
line="323"
column="48"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ConsentOutcome.ACCEPTED_VIA_UI, ConsentOutcome.ACCEPTED_VIA_SETTINGS, ConsentOutcome.REJECTED_VIA_UI, ConsentOutcome.REJECTED_VIA_SETTINGS, ConsentOutcome.REJECTED_VIA_DISMISS, ConsentOutcome.CANCELED_VIA_UI, ConsentOutcome.MAX_VALUE"
errorLine1=" ConsentOutcome.NON_USER_CANCEL, ConsentOutcome.MAX_VALUE);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="../../chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/voice/AssistantVoiceSearchConsentController.java"
line="198"
column="32"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: EligibilityFailureReason.AGSA_CANT_HANDLE_INTENT, EligibilityFailureReason.AGSA_VERSION_BELOW_MINIMUM, EligibilityFailureReason.CHROME_NOT_GOOGLE_SIGNED, EligibilityFailureReason.AGSA_NOT_GOOGLE_SIGNED, EligibilityFailureReason.NON_GOOGLE_SEARCH_ENGINE, EligibilityFailureReason.NO_CHROME_ACCOUNT, EligibilityFailureReason.LOW_END_DEVICE, EligibilityFailureReason.MULTIPLE_ACCOUNTS_ON_DEVICE, EligibilityFailureReason.AGSA_NOT_INSTALLED"
errorLine1=" EligibilityFailureReason.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/ui/android/omnibox/java/src/org/chromium/chrome/browser/omnibox/voice/AssistantVoiceSearchService.java"
line="414"
column="46"/>
</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: AutoDarkSettingsChangeSource.THEME_SETTINGS, AutoDarkSettingsChangeSource.SITE_SETTINGS_GLOBAL, AutoDarkSettingsChangeSource.APP_MENU, AutoDarkSettingsChangeSource.SITE_SETTINGS_EXCEPTION_LIST"
errorLine1=" histogram, source, AutoDarkSettingsChangeSource.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/AutoDarkMetrics.java"
line="51"
column="65"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" intent, EXTRA_ACTION, NotificationAction.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="100"
column="62"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ActionType.UNKNOWN, ActionType.DOWNLOAD_PAUSE, ActionType.DOWNLOAD_RESUME, ActionType.DOWNLOAD_CANCEL, ActionType.DOWNLOAD_PAGE_PAUSE, ActionType.DOWNLOAD_PAGE_RESUME, ActionType.DOWNLOAD_PAGE_CANCEL, ActionType.CONTENT_SUGGESTION_SETTINGS, ActionType.WEB_APP_ACTION_SHARE, ActionType.WEB_APP_ACTION_OPEN_IN_CHROME, ActionType.OFFLINE_CONTENT_SUGGESTION_SETTINGS, ActionType.SHARING_TRY_AGAIN, ActionType.SETTINGS, ActionType.ANNOUNCEMENT_ACK, ActionType.ANNOUNCEMENT_OPEN, ActionType.PRICE_DROP_VISIT_SITE, ActionType.PRICE_DROP_TURN_OFF_ALERT, ActionType.WEB_APK_ACTION_BACK_TO_SITE"
errorLine1=" NotificationUmaTracker.ActionType.AUTO_FETCH_CANCEL)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="174"
column="67"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" NotificationAction.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="206"
column="36"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" if (currentAction == NotificationAction.NUM_ENTRIES) {"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="207"
column="49"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" NotificationAction.NUM_ENTRIES)"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="223"
column="43"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" != NotificationAction.NUM_ENTRIES;"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="224"
column="39"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" intent, EXTRA_ACTION, NotificationAction.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="236"
column="62"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" if (action != NotificationAction.TAPPED &amp;&amp; action != NotificationAction.DISMISSED) {"
errorLine2=" ~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="237"
column="46"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" if (action != NotificationAction.TAPPED) {"
errorLine2=" ~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="242"
column="46"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: TabOpenType.OPEN_NEW_TAB, TabOpenType.REUSE_URL_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.REUSE_APP_ID_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.CLOBBER_CURRENT_TAB, TabOpenType.BRING_TAB_TO_FRONT, TabOpenType.OPEN_NEW_INCOGNITO_TAB, TabOpenType.REUSE_TAB_MATCHING_ID_ELSE_NEW_TAB"
errorLine1=" clickIntent.putExtra(TabOpenType.REUSE_TAB_ORIGINAL_URL_STRING, originalUrl);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="290"
column="42"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: TabOpenType.OPEN_NEW_TAB, TabOpenType.REUSE_URL_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.REUSE_APP_ID_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.CLOBBER_CURRENT_TAB, TabOpenType.BRING_TAB_TO_FRONT, TabOpenType.OPEN_NEW_INCOGNITO_TAB, TabOpenType.REUSE_TAB_MATCHING_ID_ELSE_NEW_TAB"
errorLine1=" clickIntent.putExtra(TabOpenType.REUSE_TAB_MATCHING_ID_STRING, tabId);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="292"
column="42"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" clickIntent.putExtra(EXTRA_ACTION, NotificationAction.TAPPED);"
errorLine2=" ~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="294"
column="63"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" NotificationAction.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="347"
column="36"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: NotificationAction.SHOWN, NotificationAction.COMPLETE, NotificationAction.CANCEL_PRESSED, NotificationAction.DISMISSED"
errorLine1=" NotificationAction.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/offlinepages/AutoFetchNotifier.java"
line="353"
column="36"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: TransmissionResult.SUCCESS, TransmissionResult.MALFORMED_PROTOBUF, TransmissionResult.REMOTE_EXCEPTION"
errorLine1=" TransmissionResult.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java"
line="380"
column="36"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: UrlScheme.EMPTY, UrlScheme.UNKNOWN_SCHEME, UrlScheme.HTTP_SCHEME, UrlScheme.HTTPS_SCHEME, UrlScheme.FILE_SCHEME, UrlScheme.FTP_SCHEME, UrlScheme.DATA_SCHEME, UrlScheme.JAVASCRIPT_SCHEME, UrlScheme.ABOUT_SCHEME, UrlScheme.CHROME_SCHEME, UrlScheme.BLOB_SCHEME, UrlScheme.CONTENT_SCHEME, UrlScheme.INTENT_SCHEME, UrlScheme.FILE_ANDROID_ASSET_SCHEME"
errorLine1=" LOAD_URL_SCHEME_HISTOGRAM_NAME, value, UrlScheme.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../android_webview/java/src/org/chromium/android_webview/AwContents.java"
line="2058"
column="66"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: WebViewCallbackType.ON_RECEIVED_LOGIN_REQUEST, WebViewCallbackType.ON_RECEIVED_CLIENT_CERT_REQUEST, WebViewCallbackType.ON_RECEIVED_HTTP_AUTH_REQUEST, WebViewCallbackType.ON_DOWNLOAD_START, WebViewCallbackType.ON_PAGE_STARTED, WebViewCallbackType.ON_PAGE_FINISHED, WebViewCallbackType.ON_LOAD_RESOURCE, WebViewCallbackType.ON_PAGE_COMMIT_VISIBLE, WebViewCallbackType.SHOULD_OVERRIDE_URL_LOADING"
errorLine1=" &quot;Android.WebView.Callback.Counts&quot;, result, WebViewCallbackType.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../android_webview/java/src/org/chromium/android_webview/AwHistogramRecorder.java"
line="47"
column="80"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: AppOptIn.NO_PREFERENCE, AppOptIn.OPT_IN, AppOptIn.OPT_OUT"
errorLine1=" &quot;SafeBrowsing.WebView.AppOptIn&quot;, value, AppOptIn.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../android_webview/java/src/org/chromium/android_webview/safe_browsing/AwSafeBrowsingConfigHelper.java"
line="40"
column="66"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewType.INVALID, ViewType.PERSONALIZED_SIGNIN_PROMO, ViewType.PERSONALIZED_SYNC_PROMO, ViewType.SYNC_PROMO, ViewType.FOLDER, ViewType.BOOKMARK, ViewType.DIVIDER, ViewType.SECTION_HEADER, ViewType.SHOPPING_POWER_BOOKMARK, ViewType.TAG_CHIP_LIST"
errorLine1=" case ViewType.SHOPPING_FILTER:"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkItemsAdapter.java"
line="254"
column="27"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewType.INVALID, ViewType.PERSONALIZED_SIGNIN_PROMO, ViewType.PERSONALIZED_SYNC_PROMO, ViewType.SYNC_PROMO, ViewType.FOLDER, ViewType.BOOKMARK, ViewType.DIVIDER, ViewType.SECTION_HEADER, ViewType.SHOPPING_POWER_BOOKMARK, ViewType.TAG_CHIP_LIST"
errorLine1=" } else if (holder.getItemViewType() == ViewType.SHOPPING_FILTER) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkItemsAdapter.java"
line="296"
column="57"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewType.INVALID, ViewType.PERSONALIZED_SIGNIN_PROMO, ViewType.PERSONALIZED_SYNC_PROMO, ViewType.SYNC_PROMO, ViewType.FOLDER, ViewType.BOOKMARK, ViewType.DIVIDER, ViewType.SECTION_HEADER, ViewType.SHOPPING_POWER_BOOKMARK, ViewType.TAG_CHIP_LIST"
errorLine1=" ViewType.SHOPPING_FILTER, /*bookmarkItem=*/null, /*sectionHeaderData=*/null);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkListEntry.java"
line="109"
column="26"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CustomTabsUiType.DEFAULT, CustomTabsUiType.MEDIA_VIEWER, CustomTabsUiType.INFO_PAGE, CustomTabsUiType.READER_MODE, CustomTabsUiType.MINIMAL_UI_WEBAPP, CustomTabsUiType.OFFLINE_PAGE"
errorLine1=" intent.putExtra(CustomTabIntentDataProvider.EXTRA_UI_TYPE, CustomTabsUiType.READ_LATER);"
errorLine2=" ~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkUtils.java"
line="668"
column="85"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Behavior.UNKNOWN, Behavior.NOT_ENGAGED_BELOW_THRESHOLD, Behavior.ENGAGED_WITH_SAFE_VALUES, Behavior.ENGAGED_IGNORING_OUTDATED_SAFE_VALUES, Behavior.ENGAGED_WITHOUT_SAFE_VALUES"
errorLine1=" &quot;Variations.SafeModeCachedFlags.Engaged&quot;, behavior, Behavior.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFlagsSafeMode.java"
line="93"
column="86"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Behavior.UNKNOWN, Behavior.NOT_ENGAGED_BELOW_THRESHOLD, Behavior.ENGAGED_WITH_SAFE_VALUES, Behavior.ENGAGED_IGNORING_OUTDATED_SAFE_VALUES, Behavior.ENGAGED_WITHOUT_SAFE_VALUES"
errorLine1=" Behavior.NOT_ENGAGED_BELOW_THRESHOLD, Behavior.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFlagsSafeMode.java"
line="97"
column="72"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Behavior.UNKNOWN, Behavior.NOT_ENGAGED_BELOW_THRESHOLD, Behavior.ENGAGED_WITH_SAFE_VALUES, Behavior.ENGAGED_IGNORING_OUTDATED_SAFE_VALUES, Behavior.ENGAGED_WITHOUT_SAFE_VALUES"
errorLine1=" &quot;Variations.SafeModeCachedFlags.WillCache&quot;, mBehavior.get(), Behavior.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFlagsSafeMode.java"
line="120"
column="87"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Behavior.UNKNOWN, Behavior.NOT_ENGAGED_BELOW_THRESHOLD, Behavior.ENGAGED_WITH_SAFE_VALUES, Behavior.ENGAGED_IGNORING_OUTDATED_SAFE_VALUES, Behavior.ENGAGED_WITHOUT_SAFE_VALUES"
errorLine1=" &quot;Variations.SafeModeCachedFlags.Pause&quot;, mBehavior.get(), Behavior.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFlagsSafeMode.java"
line="139"
column="83"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Behavior.UNKNOWN, Behavior.NOT_ENGAGED_BELOW_THRESHOLD, Behavior.ENGAGED_WITH_SAFE_VALUES, Behavior.ENGAGED_IGNORING_OUTDATED_SAFE_VALUES, Behavior.ENGAGED_WITHOUT_SAFE_VALUES"
errorLine1=" mBehavior.get(), Behavior.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/CachedFlagsSafeMode.java"
line="186"
column="51"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_AUTO, ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_YES, ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO, ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS"
errorLine1=" contentsShowing ? View.IMPORTANT_FOR_ACCESSIBILITY_AUTO"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java"
line="544"
column="35"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_AUTO, ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_YES, ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO, ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS"
errorLine1=" : View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java"
line="545"
column="35"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ZygoteChildState.FAILED_TO_CREATE_BUNDLE, ZygoteChildState.FIRST_USABLE_ZYGOTE, ZygoteChildState.ZYGOTE_RESTARTED, ZygoteChildState.ZYGOTE_SEEN"
errorLine1=" &quot;ChromiumAndroidLinker.ChildProcessZygoteState&quot;, state, ZygoteChildState.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncherHelperImpl.java"
line="268"
column="90"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: RestoreStatus.NO_RESTORE, RestoreStatus.RESTORE_COMPLETED, RestoreStatus.RESTORE_AFTER_FIRST_RUN, RestoreStatus.BROWSER_STARTUP_FAILED, RestoreStatus.NOT_SIGNED_IN, RestoreStatus.RESTORE_STATUS_RECORDED"
errorLine1=" HISTOGRAM_ANDROID_RESTORE_RESULT, restoreStatus, RestoreStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeBackupAgentImpl.java"
line="458"
column="84"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Item.OPEN_IN_NEW_CHROME_TAB, Item.OPEN_IN_CHROME_INCOGNITO_TAB, Item.OPEN_IN_BROWSER_ID, Item.OPEN_IN_NEW_TAB, Item.OPEN_IN_INCOGNITO_TAB, Item.OPEN_IN_OTHER_WINDOW, Item.OPEN_IN_NEW_WINDOW, Item.OPEN_IN_EPHEMERAL_TAB, Item.COPY_LINK_ADDRESS, Item.COPY_LINK_TEXT, Item.SAVE_LINK_AS, Item.SHARE_LINK, Item.DIRECT_SHARE_LINK, Item.READ_LATER, Item.LOAD_ORIGINAL_IMAGE, Item.SAVE_IMAGE, Item.OPEN_IMAGE, Item.OPEN_IMAGE_IN_NEW_TAB, Item.OPEN_IMAGE_IN_EPHEMERAL_TAB, Item.COPY_IMAGE, Item.SEARCH_BY_IMAGE, Item.SEARCH_WITH_GOOGLE_LENS, Item.SHOP_IMAGE_WITH_GOOGLE_LENS, Item.SHARE_IMAGE, Item.DIRECT_SHARE_IMAGE, Item.CALL, Item.SEND_MESSAGE, Item.ADD_TO_CONTACTS, Item.COPY, Item.SAVE_VIDEO, Item.OPEN_IN_CHROME, Item.OPEN_IN_NEW_TAB_IN_GROUP, Item.SHARE_HIGHLIGHT, Item.REMOVE_HIGHLIGHT, Item.LEARN_MORE"
errorLine1=" assert MENU_IDS.length == Item.NUM_ENTRIES;"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItem.java"
line="183"
column="40"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Item.OPEN_IN_NEW_CHROME_TAB, Item.OPEN_IN_CHROME_INCOGNITO_TAB, Item.OPEN_IN_BROWSER_ID, Item.OPEN_IN_NEW_TAB, Item.OPEN_IN_INCOGNITO_TAB, Item.OPEN_IN_OTHER_WINDOW, Item.OPEN_IN_NEW_WINDOW, Item.OPEN_IN_EPHEMERAL_TAB, Item.COPY_LINK_ADDRESS, Item.COPY_LINK_TEXT, Item.SAVE_LINK_AS, Item.SHARE_LINK, Item.DIRECT_SHARE_LINK, Item.READ_LATER, Item.LOAD_ORIGINAL_IMAGE, Item.SAVE_IMAGE, Item.OPEN_IMAGE, Item.OPEN_IMAGE_IN_NEW_TAB, Item.OPEN_IMAGE_IN_EPHEMERAL_TAB, Item.COPY_IMAGE, Item.SEARCH_BY_IMAGE, Item.SEARCH_WITH_GOOGLE_LENS, Item.SHOP_IMAGE_WITH_GOOGLE_LENS, Item.SHARE_IMAGE, Item.DIRECT_SHARE_IMAGE, Item.CALL, Item.SEND_MESSAGE, Item.ADD_TO_CONTACTS, Item.COPY, Item.SAVE_VIDEO, Item.OPEN_IN_CHROME, Item.OPEN_IN_NEW_TAB_IN_GROUP, Item.SHARE_HIGHLIGHT, Item.REMOVE_HIGHLIGHT, Item.LEARN_MORE"
errorLine1=" assert STRING_IDS.length == Item.NUM_ENTRIES;"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItem.java"
line="194"
column="42"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Action.OPEN_IN_NEW_TAB, Action.OPEN_IN_INCOGNITO_TAB, Action.COPY_LINK_ADDRESS, Action.COPY_EMAIL_ADDRESS, Action.COPY_LINK_TEXT, Action.SAVE_LINK, Action.SAVE_IMAGE, Action.OPEN_IMAGE, Action.OPEN_IMAGE_IN_NEW_TAB, Action.SEARCH_BY_IMAGE, Action.LOAD_ORIGINAL_IMAGE, Action.SAVE_VIDEO, Action.SHARE_IMAGE, Action.OPEN_IN_OTHER_WINDOW, Action.OPEN_IN_NEW_WINDOW, Action.SEND_EMAIL, Action.ADD_TO_CONTACTS, Action.CALL, Action.SEND_TEXT_MESSAGE, Action.COPY_PHONE_NUMBER, Action.OPEN_IN_NEW_CHROME_TAB, Action.OPEN_IN_CHROME_INCOGNITO_TAB, Action.OPEN_IN_BROWSER, Action.OPEN_IN_CHROME, Action.SHARE_LINK, Action.OPEN_IN_EPHEMERAL_TAB, Action.OPEN_IMAGE_IN_EPHEMERAL_TAB, Action.DIRECT_SHARE_LINK, Action.DIRECT_SHARE_IMAGE, Action.SEARCH_WITH_GOOGLE_LENS, Action.COPY_IMAGE, Action.SHOP_IMAGE_WITH_GOOGLE_LENS, Action.READ_LATER, Action.SHOP_WITH_GOOGLE_LENS_CHIP, Action.TRANSLATE_WITH_GOOGLE_LENS_CHIP, Action.SHARE_HIGHLIGHT, Action.REMOVE_HIGHLIGHT, Action.LEARN_MORE, Action.OPEN_IN_NEW_TAB_IN_GROUP"
errorLine1=" RecordHistogram.recordEnumeratedHistogram(histogramName, action, Action.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java"
line="255"
column="85"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: SelectedNewTabCreationEnum.OPEN_IN_NEW_TAB_FIRST_SELECTED_OPEN_IN_NEW_TAB, SelectedNewTabCreationEnum.OPEN_IN_NEW_TAB_FIRST_SELECTED_OPEN_IN_NEW_TAB_IN_GROUP, SelectedNewTabCreationEnum.OPEN_IN_NEW_TAB_IN_GROUP_FIRST_SELECTED_OPEN_IN_NEW_TAB, SelectedNewTabCreationEnum.OPEN_IN_NEW_TAB_IN_GROUP_FIRST_SELECTED_OPEN_IN_NEW_TAB_IN_GROUP"
errorLine1=" selectedNewTabCreationEnum, SelectedNewTabCreationEnum.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java"
line="292"
column="76"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: TypeSaveImage.LOADED, TypeSaveImage.NOT_DOWNLOADABLE, TypeSaveImage.DISABLED_AND_IS_NOT_IMAGE_PARAM, TypeSaveImage.DISABLED_AND_IS_IMAGE_PARAM, TypeSaveImage.SHOWN"
errorLine1=" &quot;MobileDownload.ContextMenu.SaveImage&quot;, type, TypeSaveImage.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java"
line="301"
column="81"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: UiAvailableTypes.TOP_AVAILABLE, UiAvailableTypes.ONLY_DEFAULT_AVAILABLE, UiAvailableTypes.NONE_AVAILABLE, UiAvailableTypes.OVERRIDDEN"
errorLine1=" availableStatus, UiAvailableTypes.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeLocalizationUtils.java"
line="130"
column="51"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: UiCorrectTypes.CORRECT, UiCorrectTypes.INCORRECT, UiCorrectTypes.NOT_AVAILABLE, UiCorrectTypes.ONLY_JAVA_CORRECT"
errorLine1=" &quot;LanguageUsage.UI.Android.Correctness&quot;, correctStatus, UiCorrectTypes.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeLocalizationUtils.java"
line="137"
column="87"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: UiCorrectTypes.CORRECT, UiCorrectTypes.INCORRECT, UiCorrectTypes.NOT_AVAILABLE, UiCorrectTypes.ONLY_JAVA_CORRECT"
errorLine1=" UiCorrectTypes.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeLocalizationUtils.java"
line="144"
column="36"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: UiCorrectTypes.CORRECT, UiCorrectTypes.INCORRECT, UiCorrectTypes.NOT_AVAILABLE, UiCorrectTypes.ONLY_JAVA_CORRECT"
errorLine1=" UiCorrectTypes.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeLocalizationUtils.java"
line="151"
column="36"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: LocaleUpdateStatus.NO_CHANGE, LocaleUpdateStatus.OVERRIDDEN_TOP_CHANGED, LocaleUpdateStatus.OVERRIDDEN_OTHERS_CHANGED, LocaleUpdateStatus.NO_OVERRIDE_TOP_CHANGED, LocaleUpdateStatus.NO_OVERRIDE_OTHERS_CHANGED, LocaleUpdateStatus.FIRST_RUN"
errorLine1=" &quot;LanguageUsage.UI.Android.IsLocaleUpdated&quot;, status, LocaleUpdateStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeLocalizationUtils.java"
line="259"
column="88"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: PageTransition.FIRST, PageTransition.LINK, PageTransition.TYPED, PageTransition.AUTO_BOOKMARK, PageTransition.AUTO_SUBFRAME, PageTransition.MANUAL_SUBFRAME, PageTransition.GENERATED, PageTransition.AUTO_TOPLEVEL, PageTransition.FORM_SUBMIT, PageTransition.RELOAD, PageTransition.KEYWORD, PageTransition.KEYWORD_GENERATED, PageTransition.LAST_CORE, PageTransition.CORE_MASK, PageTransition.BLOCKED, PageTransition.FORWARD_BACK, PageTransition.FROM_ADDRESS_BAR, PageTransition.HOME_PAGE, PageTransition.FROM_API, PageTransition.CHAIN_START, PageTransition.CHAIN_END, PageTransition.CLIENT_REDIRECT, PageTransition.SERVER_REDIRECT, PageTransition.IS_REDIRECT_MASK, PageTransition.QUALIFIER_MASK"
errorLine1=" getTransitionType(type, intent, loadUrlParams.getTransitionType()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/tabmodel/ChromeTabCreator.java"
line="223"
column="53"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ExternalAppId.OTHER, ExternalAppId.GMAIL, ExternalAppId.FACEBOOK, ExternalAppId.PLUS, ExternalAppId.TWITTER, ExternalAppId.CHROME, ExternalAppId.HANGOUTS, ExternalAppId.MESSENGER, ExternalAppId.NEWS, ExternalAppId.LINE, ExternalAppId.WHATSAPP, ExternalAppId.GSA, ExternalAppId.WEBAPK, ExternalAppId.YAHOO_MAIL, ExternalAppId.VIBER, ExternalAppId.YOUTUBE"
errorLine1=" IntentHandler.ExternalAppId.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java"
line="535"
column="53"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: TabOpenType.OPEN_NEW_TAB, TabOpenType.REUSE_URL_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.REUSE_APP_ID_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.CLOBBER_CURRENT_TAB, TabOpenType.BRING_TAB_TO_FRONT, TabOpenType.OPEN_NEW_INCOGNITO_TAB, TabOpenType.REUSE_TAB_MATCHING_ID_ELSE_NEW_TAB"
errorLine1=" intent, TabOpenType.REUSE_TAB_MATCHING_ID_STRING, Tab.INVALID_TAB_ID);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java"
line="1562"
column="49"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: TabOpenType.OPEN_NEW_TAB, TabOpenType.REUSE_URL_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.REUSE_APP_ID_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.CLOBBER_CURRENT_TAB, TabOpenType.BRING_TAB_TO_FRONT, TabOpenType.OPEN_NEW_INCOGNITO_TAB, TabOpenType.REUSE_TAB_MATCHING_ID_ELSE_NEW_TAB"
errorLine1=" intent, TabOpenType.REUSE_TAB_ORIGINAL_URL_STRING))) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java"
line="1571"
column="65"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DialogOption.CLEAR_HISTORY, DialogOption.CLEAR_COOKIES_AND_SITE_DATA, DialogOption.CLEAR_CACHE, DialogOption.CLEAR_PASSWORDS, DialogOption.CLEAR_FORM_DATA, DialogOption.CLEAR_SITE_SETTINGS"
errorLine1=" for (@DialogOption int i = DialogOption.CLEAR_HISTORY; i &lt; DialogOption.NUM_ENTRIES; i++) {"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/browsing_data/ClearBrowsingDataFragment.java"
line="249"
column="81"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: MyActivityNavigation.TOP_LEVEL, MyActivityNavigation.SEARCH_HISTORY"
errorLine1=" MyActivityNavigation.SEARCH_HISTORY, MyActivityNavigation.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/browsing_data/ClearBrowsingDataFragmentBasic.java"
line="209"
column="83"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: MyActivityNavigation.TOP_LEVEL, MyActivityNavigation.SEARCH_HISTORY"
errorLine1=" MyActivityNavigation.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/browsing_data/ClearBrowsingDataFragmentBasic.java"
line="214"
column="46"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: PredictionStatus.NONE, PredictionStatus.GOOD, PredictionStatus.BAD"
errorLine1=" &quot;CustomTabs.PredictionStatus&quot;, outcome, PredictionStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java"
line="460"
column="74"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CalledWarmup.NO_SESSION_NO_WARMUP, CalledWarmup.NO_SESSION_WARMUP, CalledWarmup.SESSION_NO_WARMUP_ALREADY_CALLED, CalledWarmup.SESSION_NO_WARMUP_NOT_CALLED, CalledWarmup.SESSION_WARMUP"
errorLine1=" getWarmupState(session), CalledWarmup.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java"
line="471"
column="55"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: MayLaunchUrlType.NO_MAY_LAUNCH_URL, MayLaunchUrlType.LOW_CONFIDENCE, MayLaunchUrlType.HIGH_CONFIDENCE, MayLaunchUrlType.BOTH"
errorLine1=" &quot;CustomTabs.MayLaunchUrlType&quot;, value, MayLaunchUrlType.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/ClientManager.java"
line="479"
column="72"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
errorLine1=" if (ViewCompat.getLayoutDirection(this) == LAYOUT_DIRECTION_LTR) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="../../components/browser_ui/widget/android/java/src/org/chromium/components/browser_ui/widget/ClipDrawableProgressBar.java"
line="135"
column="52"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: AnimationStatus.SELECTED_CARD_ZOOM_IN, AnimationStatus.SELECTED_CARD_ZOOM_OUT, AnimationStatus.HOVERED_CARD_ZOOM_IN, AnimationStatus.HOVERED_CARD_ZOOM_OUT, AnimationStatus.CARD_RESTORE"
errorLine1=" assert status &lt; AnimationStatus.NUM_ENTRIES;"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/ClosableTabGridView.java"
line="78"
column="41"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: GetFilesResultCode.SUCCESS, GetFilesResultCode.FAILED_NOT_INSTALLED, GetFilesResultCode.FAILED_NO_VERSIONS, GetFilesResultCode.FAILED_NO_FDS, GetFilesResultCode.FAILED_OPENING_FDS, GetFilesResultCode.FAILED_COMPONENT_UPDATER_SAFEMODE_ENABLED"
errorLine1=" HISTOGRAM_GET_FILES_RESULT, result, GetFilesResultCode.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../android_webview/nonembedded/java/src/org/chromium/android_webview/services/ComponentsProviderService.java"
line="317"
column="72"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ProbeResult.NO_INTERNET, ProbeResult.SERVER_ERROR, ProbeResult.NOT_VALIDATED, ProbeResult.VALIDATED_WITH_NO_CONTENT, ProbeResult.VALIDATED_WITH_OK_BUT_ZERO_CONTENT_LENGTH, ProbeResult.VALIDATED_WITH_OK_BUT_NO_CONTENT_LENGTH"
errorLine1=" result, ProbeResult.RESULT_COUNT);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/net/connectivitydetector/ConnectivityDetector.java"
line="331"
column="57"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ProbeResult.NO_INTERNET, ProbeResult.SERVER_ERROR, ProbeResult.NOT_VALIDATED, ProbeResult.VALIDATED_WITH_NO_CONTENT, ProbeResult.VALIDATED_WITH_OK_BUT_ZERO_CONTENT_LENGTH, ProbeResult.VALIDATED_WITH_OK_BUT_NO_CONTENT_LENGTH"
errorLine1=" result, ProbeResult.RESULT_COUNT);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/net/connectivitydetector/ConnectivityDetector.java"
line="335"
column="57"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ConnectionState.NONE, ConnectionState.DISCONNECTED, ConnectionState.NO_INTERNET, ConnectionState.CAPTIVE_PORTAL, ConnectionState.VALIDATED"
errorLine1=" mConnectionState, ConnectionState.RESULT_COUNT);"
errorLine2=" ~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/net/connectivitydetector/ConnectivityDetector.java"
line="344"
column="67"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Type.CHROME_HTTP, Type.CHROME_HTTPS, Type.SYSTEM_HTTP, Type.SYSTEM_HTTPS"
errorLine1=" for (@Type int t = Type.CHROME_HTTP; t &lt; Type.NUM_ENTRIES; t++) {"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/feedback/ConnectivityTask.java"
line="288"
column="55"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Type.CHROME_HTTP, Type.CHROME_HTTPS, Type.SYSTEM_HTTP, Type.SYSTEM_HTTPS"
errorLine1=" return mResult.size() == Type.NUM_ENTRIES;"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/feedback/ConnectivityTask.java"
line="299"
column="39"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Type.CHROME_HTTP, Type.CHROME_HTTPS, Type.SYSTEM_HTTP, Type.SYSTEM_HTTPS"
errorLine1=" for (@Type int type = Type.CHROME_HTTP; type &lt; Type.NUM_ENTRIES; type++) {"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/feedback/ConnectivityTask.java"
line="313"
column="61"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ChipEvent.SHOWN, ChipEvent.CLICKED, ChipEvent.DISMISSED"
errorLine1=" &quot;ContextMenu.LensChip.Event&quot;, chipEvent, ChipEvent.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuChipController.java"
line="51"
column="68"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ContextMenuItemId.SEARCH, ContextMenuItemId.OPEN_IN_NEW_TAB, ContextMenuItemId.OPEN_IN_NEW_TAB_IN_GROUP, ContextMenuItemId.OPEN_IN_INCOGNITO_TAB, ContextMenuItemId.OPEN_IN_NEW_WINDOW, ContextMenuItemId.SAVE_FOR_OFFLINE, ContextMenuItemId.ADD_TO_MY_APPS, ContextMenuItemId.REMOVE"
errorLine1=" for (@ContextMenuItemId int itemId = 0; itemId &lt; ContextMenuItemId.NUM_ENTRIES; itemId++) {"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/native_page/ContextMenuManager.java"
line="158"
column="76"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ContextualSearchPreference.UNINITIALIZED, ContextualSearchPreference.ENABLED, ContextualSearchPreference.DISABLED"
errorLine1=" getPreferenceValue(), ContextualSearchPreference.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java"
line="148"
column="66"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ContextualSearchPreference.UNINITIALIZED, ContextualSearchPreference.ENABLED, ContextualSearchPreference.DISABLED"
errorLine1=" ContextualSearchPreference.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java"
line="168"
column="44"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Results.SEEN, Results.NOT_SEEN"
errorLine1=" wasPanelSeen ? Results.SEEN : Results.NOT_SEEN, Results.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java"
line="213"
column="73"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: QuickActionResolve.FAILED, QuickActionResolve.SINGLE, QuickActionResolve.MULTIPLE"
errorLine1=" code, QuickActionResolve.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java"
line="458"
column="42"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Results.SEEN, Results.NOT_SEEN"
errorLine1=" wasSeen ? Results.SEEN : Results.NOT_SEEN, Results.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java"
line="483"
column="68"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CardTag.CT_NONE, CardTag.CT_OTHER, CardTag.CT_HAS_ENTITY, CardTag.CT_BUSINESS, CardTag.CT_PRODUCT, CardTag.CT_CONTACT, CardTag.CT_EMAIL, CardTag.CT_LOCATION, CardTag.CT_URL, CardTag.CT_DEFINITION, CardTag.CT_TRANSLATE, CardTag.CT_CONTEXTUAL_DEFINITION"
errorLine1=" &quot;Search.ContextualSearch.CardTagSeen&quot;, cardTagEnum, CardTag.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java"
line="508"
column="81"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CardTag.CT_NONE, CardTag.CT_OTHER, CardTag.CT_HAS_ENTITY, CardTag.CT_BUSINESS, CardTag.CT_PRODUCT, CardTag.CT_CONTACT, CardTag.CT_EMAIL, CardTag.CT_LOCATION, CardTag.CT_URL, CardTag.CT_DEFINITION, CardTag.CT_TRANSLATE, CardTag.CT_CONTEXTUAL_DEFINITION"
errorLine1=" &quot;Search.ContextualSearch.CardTag&quot;, cardTagEnum, CardTag.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java"
line="511"
column="73"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ResultsByGesture.SEEN_FROM_TAP, ResultsByGesture.NOT_SEEN_FROM_TAP, ResultsByGesture.SEEN_FROM_LONG_PRESS, ResultsByGesture.NOT_SEEN_FROM_LONG_PRESS"
errorLine1=" getPanelSeenByGestureStateCode(wasPanelSeen, wasTap), ResultsByGesture.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchUma.java"
line="583"
column="88"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CrashKeyIndex.LOADED_DYNAMIC_MODULE, CrashKeyIndex.ACTIVE_DYNAMIC_MODULE, CrashKeyIndex.APPLICATION_STATUS, CrashKeyIndex.INSTALLED_MODULES, CrashKeyIndex.EMULATED_MODULES, CrashKeyIndex.DYNAMIC_MODULE_DEX_NAME, CrashKeyIndex.PARTNER_CUSTOMIZATION_CONFIG, CrashKeyIndex.FIRST_RUN"
errorLine1=" assert CrashKeyIndex.NUM_ENTRIES == KEYS.length;"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/crash/android/java/src/org/chromium/components/crash/CrashKeys.java"
line="38"
column="30"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CollectionState.ENABLED_BY_COMMANDLINE, CollectionState.ENABLED_BY_FLAG_UI, CollectionState.ENABLED_BY_USER_CONSENT, CollectionState.DISABLED_BY_USER_CONSENT, CollectionState.DISABLED_BY_USER_CONSENT_CANNOT_FIND_SETTINGS, CollectionState.DISABLED_CANNOT_USE_GMS"
errorLine1=" &quot;Android.WebView.DevUi.CrashList.CollectionState&quot;, state, CollectionState.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../android_webview/nonembedded/java/src/org/chromium/android_webview/devui/CrashesListFragment.java"
line="107"
column="91"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CrashInteraction.FORCE_UPLOAD_BUTTON, CrashInteraction.FORCE_UPLOAD_NO_DIALOG, CrashInteraction.FORCE_UPLOAD_DIALOG_METERED_NETWORK, CrashInteraction.FORCE_UPLOAD_DIALOG_CANCEL, CrashInteraction.FILE_BUG_REPORT_BUTTON, CrashInteraction.FILE_BUG_REPORT_DIALOG_PROCEED, CrashInteraction.FILE_BUG_REPORT_DIALOG_DISMISS, CrashInteraction.HIDE_CRASH_BUTTON"
errorLine1=" &quot;Android.WebView.DevUi.CrashList.CrashInteraction&quot;, action, CrashInteraction.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../android_webview/nonembedded/java/src/org/chromium/android_webview/devui/CrashesListFragment.java"
line="131"
column="94"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ConnectionStatus.DISCONNECTED, ConnectionStatus.DISCONNECTED_KEEP_ALIVE, ConnectionStatus.CONNECTED, ConnectionStatus.CONNECTED_KEEP_ALIVE"
errorLine1=" status, ConnectionStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivityClientConnectionKeeper.java"
line="101"
column="46"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ConnectionStatus.DISCONNECTED, ConnectionStatus.DISCONNECTED_KEEP_ALIVE, ConnectionStatus.CONNECTED, ConnectionStatus.CONNECTED_KEEP_ALIVE"
errorLine1=" status, ConnectionStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivityClientConnectionKeeper.java"
line="104"
column="46"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: IncognitoCCTCallerId.OTHER_APPS, IncognitoCCTCallerId.GOOGLE_APPS, IncognitoCCTCallerId.OTHER_CHROME_FEATURES, IncognitoCCTCallerId.READER_MODE, IncognitoCCTCallerId.READ_LATER"
errorLine1=" incognitoCCTCallerId, IntentHandler.IncognitoCCTCallerId.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivityLifecycleUmaTracker.java"
line="59"
column="74"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ExternalAppId.OTHER, ExternalAppId.GMAIL, ExternalAppId.FACEBOOK, ExternalAppId.PLUS, ExternalAppId.TWITTER, ExternalAppId.CHROME, ExternalAppId.HANGOUTS, ExternalAppId.MESSENGER, ExternalAppId.NEWS, ExternalAppId.LINE, ExternalAppId.WHATSAPP, ExternalAppId.GSA, ExternalAppId.WEBAPK, ExternalAppId.YAHOO_MAIL, ExternalAppId.VIBER, ExternalAppId.YOUTUBE"
errorLine1=" externalId, IntentHandler.ExternalAppId.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivityLifecycleUmaTracker.java"
line="68"
column="65"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ExternalAppId.OTHER, ExternalAppId.GMAIL, ExternalAppId.FACEBOOK, ExternalAppId.PLUS, ExternalAppId.TWITTER, ExternalAppId.CHROME, ExternalAppId.HANGOUTS, ExternalAppId.MESSENGER, ExternalAppId.NEWS, ExternalAppId.LINE, ExternalAppId.WHATSAPP, ExternalAppId.GSA, ExternalAppId.WEBAPK, ExternalAppId.YAHOO_MAIL, ExternalAppId.VIBER, ExternalAppId.YOUTUBE"
errorLine1=" externalId, IntentHandler.ExternalAppId.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivityLifecycleUmaTracker.java"
line="75"
column="65"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ExternalAppId.OTHER, ExternalAppId.GMAIL, ExternalAppId.FACEBOOK, ExternalAppId.PLUS, ExternalAppId.TWITTER, ExternalAppId.CHROME, ExternalAppId.HANGOUTS, ExternalAppId.MESSENGER, ExternalAppId.NEWS, ExternalAppId.LINE, ExternalAppId.WHATSAPP, ExternalAppId.GSA, ExternalAppId.WEBAPK, ExternalAppId.YAHOO_MAIL, ExternalAppId.VIBER, ExternalAppId.YOUTUBE"
errorLine1=" &quot;CustomTabs.ClientAppId&quot;, externalId, IntentHandler.ExternalAppId.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivityLifecycleUmaTracker.java"
line="96"
column="87"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: WebContentsState.NO_WEBCONTENTS, WebContentsState.PRERENDERED_WEBCONTENTS, WebContentsState.SPARE_WEBCONTENTS, WebContentsState.TRANSFERRED_WEBCONTENTS"
errorLine1=" WebContentsState.PRERENDERED_WEBCONTENTS, WebContentsState.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/content/CustomTabActivityTabController.java"
line="356"
column="76"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: WebContentsState.NO_WEBCONTENTS, WebContentsState.PRERENDERED_WEBCONTENTS, WebContentsState.SPARE_WEBCONTENTS, WebContentsState.TRANSFERRED_WEBCONTENTS"
errorLine1=" webContentsStateOnLaunch, WebContentsState.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/content/CustomTabActivityTabController.java"
line="383"
column="60"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ParallelRequestStatus.NO_REQUEST, ParallelRequestStatus.SUCCESS, ParallelRequestStatus.FAILURE_NOT_INITIALIZED, ParallelRequestStatus.FAILURE_NOT_AUTHORIZED, ParallelRequestStatus.FAILURE_INVALID_URL, ParallelRequestStatus.FAILURE_INVALID_REFERRER, ParallelRequestStatus.FAILURE_INVALID_REFERRER_FOR_SESSION"
errorLine1=" ParallelRequestStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java"
line="973"
column="39"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: CloseCause.USER_ACTION_CHROME, CloseCause.USER_ACTION_ANDROID, CloseCause.AUTOCLOSE"
errorLine1=" &quot;CustomTabs.CloseCause&quot;, mCloseCause, CloseCause.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsOpenTimeRecorder.java"
line="83"
column="66"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DangerousDownloadDialogEvent.DANGEROUS_DOWNLOAD_DIALOG_SHOW, DangerousDownloadDialogEvent.DANGEROUS_DOWNLOAD_DIALOG_CONFIRM, DangerousDownloadDialogEvent.DANGEROUS_DOWNLOAD_DIALOG_CANCEL, DangerousDownloadDialogEvent.DANGEROUS_DOWNLOAD_DIALOG_DISMISS"
errorLine1=" &quot;Download.DangerousDialog.Events&quot;, event, DangerousDownloadDialogEvent.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DangerousDownloadDialog.java"
line="131"
column="88"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: MobileDefaultBrowserState.NO_DEFAULT, MobileDefaultBrowserState.CHROME_SYSTEM_DEFAULT, MobileDefaultBrowserState.CHROME_INSTALLED_DEFAULT, MobileDefaultBrowserState.OTHER_SYSTEM_DEFAULT, MobileDefaultBrowserState.OTHER_INSTALLED_DEFAULT"
errorLine1=" getDefaultBrowserUmaState(info), MobileDefaultBrowserState.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/DefaultBrowserInfo.java"
line="197"
column="88"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DirectActionId.GO_BACK, DirectActionId.RELOAD, DirectActionId.GO_FORWARD, DirectActionId.BOOKMARK_THIS_PAGE, DirectActionId.DOWNLOADS, DirectActionId.PREFERENCES, DirectActionId.OPEN_HISTORY, DirectActionId.HELP, DirectActionId.NEW_TAB, DirectActionId.CLOSE_TAB, DirectActionId.CLOSE_ALL_TABS, DirectActionId.FIND_IN_PAGE, DirectActionId.NUM_ENTRIES"
errorLine1=" record(DirectActionId.UNKNOWN);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/directactions/DirectActionUsageHistogram.java"
line="81"
column="16"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DirectActionId.GO_BACK, DirectActionId.RELOAD, DirectActionId.GO_FORWARD, DirectActionId.BOOKMARK_THIS_PAGE, DirectActionId.DOWNLOADS, DirectActionId.PREFERENCES, DirectActionId.OPEN_HISTORY, DirectActionId.HELP, DirectActionId.NEW_TAB, DirectActionId.CLOSE_TAB, DirectActionId.CLOSE_ALL_TABS, DirectActionId.FIND_IN_PAGE, DirectActionId.NUM_ENTRIES"
errorLine1=" record(DirectActionId.UNKNOWN);"
errorLine2=" ~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/directactions/DirectActionUsageHistogram.java"
line="81"
column="31"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DirectActionId.GO_BACK, DirectActionId.RELOAD, DirectActionId.GO_FORWARD, DirectActionId.BOOKMARK_THIS_PAGE, DirectActionId.DOWNLOADS, DirectActionId.PREFERENCES, DirectActionId.OPEN_HISTORY, DirectActionId.HELP, DirectActionId.NEW_TAB, DirectActionId.CLOSE_TAB, DirectActionId.CLOSE_ALL_TABS, DirectActionId.FIND_IN_PAGE, DirectActionId.NUM_ENTRIES"
errorLine1=" if (histogramId == null) histogramId = DirectActionId.OTHER;"
errorLine2=" ~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/directactions/DirectActionUsageHistogram.java"
line="92"
column="63"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DirectActionId.GO_BACK, DirectActionId.RELOAD, DirectActionId.GO_FORWARD, DirectActionId.BOOKMARK_THIS_PAGE, DirectActionId.DOWNLOADS, DirectActionId.PREFERENCES, DirectActionId.OPEN_HISTORY, DirectActionId.HELP, DirectActionId.NEW_TAB, DirectActionId.CLOSE_TAB, DirectActionId.CLOSE_ALL_TABS, DirectActionId.FIND_IN_PAGE, DirectActionId.NUM_ENTRIES"
errorLine1=" record(histogramId);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/directactions/DirectActionUsageHistogram.java"
line="94"
column="16"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DirectActionId.GO_BACK, DirectActionId.RELOAD, DirectActionId.GO_FORWARD, DirectActionId.BOOKMARK_THIS_PAGE, DirectActionId.DOWNLOADS, DirectActionId.PREFERENCES, DirectActionId.OPEN_HISTORY, DirectActionId.HELP, DirectActionId.NEW_TAB, DirectActionId.CLOSE_TAB, DirectActionId.CLOSE_ALL_TABS, DirectActionId.FIND_IN_PAGE, DirectActionId.NUM_ENTRIES"
errorLine1=" record(histogramId);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/directactions/DirectActionUsageHistogram.java"
line="94"
column="16"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ActionType.UNKNOWN, ActionType.DOWNLOAD_PAUSE, ActionType.DOWNLOAD_RESUME, ActionType.DOWNLOAD_CANCEL, ActionType.DOWNLOAD_PAGE_PAUSE, ActionType.DOWNLOAD_PAGE_RESUME, ActionType.DOWNLOAD_PAGE_CANCEL, ActionType.CONTENT_SUGGESTION_SETTINGS, ActionType.WEB_APP_ACTION_SHARE, ActionType.WEB_APP_ACTION_OPEN_IN_CHROME, ActionType.OFFLINE_CONTENT_SUGGESTION_SETTINGS, ActionType.SHARING_TRY_AGAIN, ActionType.SETTINGS, ActionType.ANNOUNCEMENT_ACK, ActionType.ANNOUNCEMENT_OPEN, ActionType.PRICE_DROP_VISIT_SITE, ActionType.PRICE_DROP_TURN_OFF_ALERT, ActionType.WEB_APK_ACTION_BACK_TO_SITE"
errorLine1=" NotificationUmaTracker.ActionType.TWA_NOTIFICATION_ACCEPTANCE)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/view/DisclosureNotification.java"
line="130"
column="59"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DownloadLocationDirectoryType.DEFAULT, DownloadLocationDirectoryType.ADDITIONAL, DownloadLocationDirectoryType.ERROR"
errorLine1=" DirectoryOption.DownloadLocationDirectoryType.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/DownloadDirectoryProvider.java"
line="358"
column="63"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DownloadLocationDirectoryType.DEFAULT, DownloadLocationDirectoryType.ADDITIONAL, DownloadLocationDirectoryType.ERROR"
errorLine1=" directoryOption.type, DirectoryOption.DownloadLocationDirectoryType.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationDialogCoordinator.java"
line="280"
column="85"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DownloadLocationSuggestionEvent.LOCATION_SUGGESTION_SHOWN, DownloadLocationSuggestionEvent.NOT_ENOUGH_SPACE_SHOWN"
errorLine1=" DownloadLocationSuggestionEvent.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/DownloadLocationDialogMetrics.java"
line="50"
column="49"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DownloadLocationDirectoryType.DEFAULT, DownloadLocationDirectoryType.ADDITIONAL, DownloadLocationDirectoryType.ERROR"
errorLine1=" option.type, DirectoryOption.DownloadLocationDirectoryType.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/settings/DownloadLocationPreferenceAdapter.java"
line="106"
column="76"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DownloadState.IN_PROGRESS, DownloadState.COMPLETE, DownloadState.CANCELLED, DownloadState.INTERRUPTED, DownloadState.MAX_DOWNLOAD_STATE"
errorLine1=" int state = downloadItem.getDownloadInfo().state();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java"
line="1381"
column="21"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DownloadState.IN_PROGRESS, DownloadState.COMPLETE, DownloadState.CANCELLED, DownloadState.INTERRUPTED, DownloadState.MAX_DOWNLOAD_STATE"
errorLine1=" return (state == DownloadState.INTERRUPTED &amp;&amp; !downloadItem.getDownloadInfo().isResumable())"
errorLine2=" ~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java"
line="1382"
column="17"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DownloadState.IN_PROGRESS, DownloadState.COMPLETE, DownloadState.CANCELLED, DownloadState.INTERRUPTED, DownloadState.MAX_DOWNLOAD_STATE"
errorLine1=" || state == DownloadState.CANCELLED;"
errorLine2=" ~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java"
line="1383"
column="20"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DownloadLocationDirectoryType.DEFAULT, DownloadLocationDirectoryType.ADDITIONAL, DownloadLocationDirectoryType.ERROR"
errorLine1=" DirectoryOption.DownloadLocationDirectoryType.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadMetrics.java"
line="106"
column="83"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ServiceStopped.STOPPED, ServiceStopped.DESTROYED, ServiceStopped.TASK_REMOVED, ServiceStopped.LOW_MEMORY, ServiceStopped.START_STICKY"
errorLine1=" ServiceStopped.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationUmaHelper.java"
line="115"
column="36"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ForegroundLifecycle.START, ForegroundLifecycle.UPDATE, ForegroundLifecycle.STOP"
errorLine1=" ForegroundLifecycle.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationUmaHelper.java"
line="127"
column="37"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: StateAtCancel.DOWNLOADING, StateAtCancel.PAUSED, StateAtCancel.PENDING_NETWORK, StateAtCancel.PENDING_ANOTHER_DOWNLOAD"
errorLine1=" StateAtCancel.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationUmaHelper.java"
line="141"
column="35"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: StateAtCancel.DOWNLOADING, StateAtCancel.PAUSED, StateAtCancel.PENDING_NETWORK, StateAtCancel.PENDING_ANOTHER_DOWNLOAD"
errorLine1=" StateAtCancel.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationUmaHelper.java"
line="145"
column="35"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: UmaDownloadResumption.MANUAL_PAUSE, UmaDownloadResumption.BROWSER_KILLED, UmaDownloadResumption.CLICKED, UmaDownloadResumption.FAILED, UmaDownloadResumption.AUTO_STARTED, UmaDownloadResumption.BROWSER_RUNNING, UmaDownloadResumption.BROWSER_NOT_RUNNING"
errorLine1=" &quot;MobileDownload.DownloadResumption&quot;, type, UmaDownloadResumption.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotificationUmaHelper.java"
line="155"
column="82"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: DuplicateDownloadDialogEvent.DUPLICATE_DOWNLOAD_DIALOG_SHOW, DuplicateDownloadDialogEvent.DUPLICATE_DOWNLOAD_DIALOG_CONFIRM, DuplicateDownloadDialogEvent.DUPLICATE_DOWNLOAD_DIALOG_CANCEL, DuplicateDownloadDialogEvent.DUPLICATE_DOWNLOAD_DIALOG_LINK_CLICKED, DuplicateDownloadDialogEvent.DUPLICATE_DOWNLOAD_DIALOG_DISMISS"
errorLine1=" event, DuplicateDownloadDialogEvent.COUNT);"
errorLine2=" ~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/download/DuplicateDownloadDialog.java"
line="188"
column="53"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: StreamTabId.DEFAULT, StreamTabId.FOR_YOU, StreamTabId.FOLLOWING"
errorLine1=" if (mTabToStreamMap.size() &lt;= tabId) tabId = 0;"
errorLine2=" ~">
<location
file="../../chrome/android/feed/core/java/src/org/chromium/chrome/browser/feed/FeedSurfaceMediator.java"
line="449"
column="54"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: StreamTabId.DEFAULT, StreamTabId.FOR_YOU, StreamTabId.FOLLOWING"
errorLine1=" mSectionHeaderModel.set(SectionHeaderListProperties.CURRENT_TAB_INDEX_KEY, tabId);"
errorLine2=" ~~~~~">
<location
file="../../chrome/android/feed/core/java/src/org/chromium/chrome/browser/feed/FeedSurfaceMediator.java"
line="450"
column="84"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: StorageRequestType.SAVE, StorageRequestType.RESTORE, StorageRequestType.DELETE"
errorLine1=" storageRequest.getStorageRequestType(), StorageRequestType.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/tab/java/src/org/chromium/chrome/browser/tab/state/FilePersistedTabDataStorage.java"
line="607"
column="80"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Type.ALL, Type.PAGE, Type.VIDEO, Type.AUDIO, Type.IMAGE, Type.DOCUMENT, Type.OTHER"
errorLine1=" &quot;Android.DownloadManager.Filter&quot;, selectedTab, DownloadFilter.Type.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/download/internal/android/java/src/org/chromium/chrome/browser/download/home/metrics/FilterChangeLogger.java"
line="24"
column="84"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: FilterType.NONE, FilterType.SITES, FilterType.VIDEOS, FilterType.MUSIC, FilterType.IMAGES, FilterType.DOCUMENT, FilterType.OTHER, FilterType.PREFETCHED"
errorLine1=" if (filter &lt; 0 || filter >= FilterType.NUM_ENTRIES) filter = FilterType.NONE;"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/download/internal/android/java/src/org/chromium/chrome/browser/download/home/filter/Filters.java"
line="104"
column="52"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: LayoutType.WARNING_MESSAGE, LayoutType.TOGGLEABLE_FLAG"
errorLine1=" return LayoutType.COUNT;"
errorLine2=" ~~~~~">
<location
file="../../android_webview/nonembedded/java/src/org/chromium/android_webview/devui/FlagsFragment.java"
line="520"
column="31"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: WebPushDeviceState.NOT_IDLE_NOT_HIGH_PRIORITY, WebPushDeviceState.NOT_IDLE_HIGH_PRIORITY, WebPushDeviceState.IDLE_NOT_HIGH_PRIORITY, WebPushDeviceState.IDLE_HIGH_PRIORITY"
errorLine1=" &quot;GCM.WebPushReceived.DeviceState&quot;, state, WebPushDeviceState.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/services/gcm/GcmUma.java"
line="51"
column="78"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: GestureNavigationDirection.BACK, GestureNavigationDirection.FORWARD"
errorLine1=" GestureNavigationDirection.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/gesturenav/GestureNavMetrics.java"
line="52"
column="44"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: OverrideLanguageStatus.DIFFERENT, OverrideLanguageStatus.SAME_BASE, OverrideLanguageStatus.EXACT_MATCH, OverrideLanguageStatus.NO_OVERRIDE"
errorLine1=" IS_SYSTEM_LANGUAGE_HISTOGRAM, status, OverrideLanguageStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/language/android/java/src/org/chromium/chrome/browser/language/GlobalAppLocaleController.java"
line="154"
column="78"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: WebView.RENDERER_PRIORITY_WAIVED, WebView.RENDERER_PRIORITY_BOUND, WebView.RENDERER_PRIORITY_IMPORTANT"
errorLine1=" return detail.rendererPriority();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../android_webview/glue/java/src/com/android/webview/chromium/GlueApiHelperForO.java"
line="45"
column="24"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: HomepageLocationType.POLICY_NTP, HomepageLocationType.POLICY_OTHER, HomepageLocationType.PARTNER_PROVIDED_NTP, HomepageLocationType.PARTNER_PROVIDED_OTHER, HomepageLocationType.USER_CUSTOMIZED_NTP, HomepageLocationType.USER_CUSTOMIZED_OTHER, HomepageLocationType.DEFAULT_NTP"
errorLine1=" homepageLocationType, HomepageLocationType.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/homepage/HomepageManager.java"
line="308"
column="60"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: IdentityDiscState.NONE, IdentityDiscState.SMALL, IdentityDiscState.LARGE"
errorLine1=" private ProfileDataCache mProfileDataCache[] = new ProfileDataCache[IdentityDiscState.MAX];"
errorLine2=" ~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/identity_disc/IdentityDiscController.java"
line="83"
column="91"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: IdentityDiscState.NONE, IdentityDiscState.SMALL, IdentityDiscState.LARGE"
errorLine1=" for (int i = 0; i &lt; IdentityDiscState.MAX; i++) {"
errorLine2=" ~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/identity_disc/IdentityDiscController.java"
line="229"
column="47"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: IdentityDiscState.NONE, IdentityDiscState.SMALL, IdentityDiscState.LARGE"
errorLine1=" for (int i = 0; i &lt; IdentityDiscState.MAX; i++) {"
errorLine2=" ~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/identity_disc/IdentityDiscController.java"
line="295"
column="47"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ImageDescriptionsDialogAction.ENABLED, ImageDescriptionsDialogAction.ENABLED_ONLY_ON_WIFI, ImageDescriptionsDialogAction.JUST_ONCE, ImageDescriptionsDialogAction.JUST_ONCE_DONT_ASK_AGAIN, ImageDescriptionsDialogAction.CANCEL"
errorLine1=" action, ImageDescriptionsDialogAction.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/browser/image_descriptions/android/java/src/org/chromium/chrome/browser/image_descriptions/ImageDescriptionsDialog.java"
line="274"
column="55"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: IncognitoCCTCallerId.OTHER_APPS, IncognitoCCTCallerId.GOOGLE_APPS, IncognitoCCTCallerId.OTHER_CHROME_FEATURES, IncognitoCCTCallerId.READER_MODE, IncognitoCCTCallerId.READ_LATER"
errorLine1=" &amp;&amp; incognitoCCTChromeClientId &lt; IntentHandler.IncognitoCCTCallerId.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/IncognitoCustomTabIntentDataProvider.java"
line="214"
column="88"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ExternalAppId.OTHER, ExternalAppId.GMAIL, ExternalAppId.FACEBOOK, ExternalAppId.PLUS, ExternalAppId.TWITTER, ExternalAppId.CHROME, ExternalAppId.HANGOUTS, ExternalAppId.MESSENGER, ExternalAppId.NEWS, ExternalAppId.LINE, ExternalAppId.WHATSAPP, ExternalAppId.GSA, ExternalAppId.WEBAPK, ExternalAppId.YAHOO_MAIL, ExternalAppId.VIBER, ExternalAppId.YOUTUBE"
errorLine1=" &quot;MobileIntent.PageLoadDueToExternalApp&quot;, externalId, ExternalAppId.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java"
line="523"
column="84"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: TabOpenType.OPEN_NEW_TAB, TabOpenType.REUSE_URL_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.REUSE_APP_ID_MATCHING_TAB_ELSE_NEW_TAB, TabOpenType.CLOBBER_CURRENT_TAB, TabOpenType.BRING_TAB_TO_FRONT, TabOpenType.OPEN_NEW_INCOGNITO_TAB, TabOpenType.REUSE_TAB_MATCHING_ID_ELSE_NEW_TAB"
errorLine1=" intent, TabOpenType.REUSE_TAB_MATCHING_ID_STRING, Tab.INVALID_TAB_ID);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java"
line="1164"
column="37"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ULPInitiationStatus.SUCCESS, ULPInitiationStatus.NOT_SUPPORTED, ULPInitiationStatus.TIMED_OUT, ULPInitiationStatus.FAILURE"
errorLine1=" INITIATION_STATUS_HISTOGRAM, initStatus, ULPInitiationStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/language/android/java/src/org/chromium/components/language/LanguageProfileMetricsLogger.java"
line="46"
column="78"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ULPInitiationStatus.SUCCESS, ULPInitiationStatus.NOT_SUPPORTED, ULPInitiationStatus.TIMED_OUT, ULPInitiationStatus.FAILURE"
errorLine1=" initStatus, ULPInitiationStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/language/android/java/src/org/chromium/components/language/LanguageProfileMetricsLogger.java"
line="49"
column="53"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ULPInitiationStatus.SUCCESS, ULPInitiationStatus.NOT_SUPPORTED, ULPInitiationStatus.TIMED_OUT, ULPInitiationStatus.FAILURE"
errorLine1=" initStatus, ULPInitiationStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../components/language/android/java/src/org/chromium/components/language/LanguageProfileMetricsLogger.java"
line="52"
column="53"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: LanguageSplitInstallStatus.SUCCESS, LanguageSplitInstallStatus.ALREADY_INSTALLED, LanguageSplitInstallStatus.CANCELED, LanguageSplitInstallStatus.DOWNLOADED, LanguageSplitInstallStatus.FAILED, LanguageSplitInstallStatus.UNEXPECTED_STATUS"
errorLine1=" enumCode, LanguageSplitInstallStatus.NUM_ENTRIES);"
errorLine2=" ~~~~~~~~~~~">