<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-alpha05" type="baseline" client="" dependencies="true" name="" variant="all" version="8.3.0-alpha05">

    <issue
        id="WrongConstant"
        message="Must be one or more of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END, Gravity.NO_GRAVITY"
        errorLine1="        if (mDrawerLayout.isDrawerOpen(Gravity.START)) {"
        errorLine2="                                       ~~~~~~~~~~~~~">
        <location
            file="../../remoting/android/java/src/org/chromium/chromoting/Chromoting.java"
            line="203"
            column="40"/>
    </issue>

    <issue
        id="WrongConstant"
        message="Must be one or more of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END, Gravity.NO_GRAVITY"
        errorLine1="            mDrawerLayout.closeDrawer(Gravity.START);"
        errorLine2="                                      ~~~~~~~~~~~~~">
        <location
            file="../../remoting/android/java/src/org/chromium/chromoting/Chromoting.java"
            line="204"
            column="39"/>
    </issue>

    <issue
        id="WrongConstant"
        message="Must be one or more of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END, Gravity.NO_GRAVITY"
        errorLine1="                        if (mDrawerLayout.isDrawerOpen(Gravity.START)) {"
        errorLine2="                                                       ~~~~~~~~~~~~~">
        <location
            file="../../remoting/android/java/src/org/chromium/chromoting/Chromoting.java"
            line="291"
            column="56"/>
    </issue>

    <issue
        id="WrongConstant"
        message="Must be one or more of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END, Gravity.NO_GRAVITY"
        errorLine1="                            mDrawerLayout.closeDrawer(Gravity.START);"
        errorLine2="                                                      ~~~~~~~~~~~~~">
        <location
            file="../../remoting/android/java/src/org/chromium/chromoting/Chromoting.java"
            line="292"
            column="55"/>
    </issue>

    <issue
        id="WrongConstant"
        message="Must be one or more of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END, Gravity.NO_GRAVITY"
        errorLine1="                            mDrawerLayout.openDrawer(Gravity.START);"
        errorLine2="                                                     ~~~~~~~~~~~~~">
        <location
            file="../../remoting/android/java/src/org/chromium/chromoting/Chromoting.java"
            line="294"
            column="54"/>
    </issue>

    <issue
        id="UseCompatTextViewDrawableXml"
        message="Use `app:drawableStartCompat` instead of `android:drawableStart`"
        errorLine1="        android:drawableStart=&quot;@drawable/ic_host_online&quot;"
        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="../../remoting/android/java/res/layout/host_online.xml"
            line="28"
            column="9"/>
    </issue>

    <issue
        id="SetJavaScriptEnabled"
        message="Using `setJavaScriptEnabled` can introduce XSS vulnerabilities into your application, review carefully"
        errorLine1="        mWebView.getSettings().setJavaScriptEnabled(true);"
        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="../../remoting/android/java/src/org/chromium/chromoting/help/HelpActivity.java"
            line="89"
            column="9"/>
    </issue>

    <issue
        id="SetJavaScriptEnabled"
        message="Using `setJavaScriptEnabled` can introduce XSS vulnerabilities into your application, review carefully"
        errorLine1="        webView.getSettings().setJavaScriptEnabled(true);"
        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="../../remoting/android/java/src/org/chromium/chromoting/WebViewActivity.java"
            line="44"
            column="9"/>
    </issue>

    <issue
        id="DataExtractionRules"
        message="The attribute `android:allowBackup` is deprecated from Android 12 and higher and may be removed in future versions. Consider adding the attribute `android:dataExtractionRules` specifying an `@xml` resource which configures cloud backups and device transfers on Android 12 and higher."
        errorLine1="  &lt;application android:label=&quot;@string/product_name_android&quot; android:name=&quot;org.chromium.chromoting.RemotingApplication&quot; android:icon=&quot;@mipmap/ic_launcher&quot; android:theme=&quot;@style/BaseTheme&quot; android:allowBackup=&quot;false&quot; android:resizeableActivity=&quot;true&quot; android:supportsPictureInPicture=&quot;false&quot;>"
        errorLine2="                                                                                                                                                                                                                ~~~~~">
        <location
            file="gen/remoting/android/remoting_apk__lint/gen/remoting/android/AndroidManifest.xml"
            line="16"
            column="209"/>
    </issue>

    <issue
        id="MonochromeLauncherIcon"
        message="The application adaptive icon is missing a monochrome tag"
        errorLine1="&lt;adaptive-icon xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;>"
        errorLine2="^">
        <location
            file="../../remoting/android/java/res/mipmap-anydpi-v26/ic_launcher.xml"
            line="2"
            column="1"/>
    </issue>

    <issue
        id="ClickableViewAccessibility"
        message="Custom view `DesktopView` overrides `onTouchEvent` but not `performClick`"
        errorLine1="    public final boolean onTouchEvent(MotionEvent event) {"
        errorLine2="                         ~~~~~~~~~~~~">
        <location
            file="../../remoting/android/java/src/org/chromium/chromoting/DesktopView.java"
            line="85"
            column="26"/>
    </issue>

    <issue
        id="RtlEnabled"
        message="The project references RTL attributes, but does not explicitly enable or disable RTL support with `android:supportsRtl` in the manifest">
        <location
            file="gen/remoting/android/remoting_apk__lint/gen/remoting/android/AndroidManifest.xml"/>
    </issue>

</issues>
