blob: 97d9f72b18c9957828f00e919f7f68b04c09b718 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 7.1.0" type="baseline" client="" dependencies="true" name="" variant="all" version="7.1.0">
<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="204"
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="205"
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="292"
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="293"
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="295"
column="54"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: InputMode.UNKNOWN, InputMode.TRACKPAD, InputMode.TOUCH"
errorLine1=" for (int i = 0; i &lt; InputMode.NUM_ENTRIES; i++) {"
errorLine2=" ~~~~~~~~~~~">
<location
file="../../remoting/android/java/src/org/chromium/chromoting/Desktop.java"
line="351"
column="39"/>
</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="91"
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="46"
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="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 23"
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../remoting/android/java/src/org/chromium/chromoting/accountswitcher/AccountManagerCompat.java"
line="25"
column="13"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 23"
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../remoting/android/java/src/org/chromium/chromoting/Chromoting.java"
line="628"
column="13"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 23"
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../remoting/android/java/src/org/chromium/chromoting/Desktop.java"
line="183"
column="13"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 23"
errorLine1=" } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../remoting/android/java/src/org/chromium/chromoting/Desktop.java"
line="221"
column="20"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 23"
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../remoting/android/java/src/org/chromium/chromoting/Desktop.java"
line="280"
column="13"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 23"
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../remoting/android/java/src/org/chromium/chromoting/Desktop.java"
line="512"
column="13"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 23"
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../remoting/android/java/src/org/chromium/chromoting/Desktop.java"
line="521"
column="13"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 23"
errorLine1=" if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="../../remoting/android/java/src/org/chromium/chromoting/Desktop.java"
line="605"
column="13"/>
</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>