123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- <?xml version="1.0" encoding="UTF-8"?>
- <issues format="6" by="lint 7.4.0-alpha05" type="baseline" client="" dependencies="true" name="" variant="all" version="7.4.0-alpha05">
- <issue
- id="LintError"
- message="../../remoting/android/lint-baseline.xml (relative to /usr/local/google/home/wnwen/z1/src/out/Debug) does not exist"
- errorLine1=" <baseline file="../../remoting/android/lint-baseline.xml"/>"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="project.xml"
- line="5"
- column="3"/>
- </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="$SRC/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="$SRC/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="$SRC/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="$SRC/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="$SRC/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 < InputMode.NUM_ENTRIES; i++) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="$SRC/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="@drawable/ic_host_online""
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="$SRC/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="$SRC/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="$SRC/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=" <application android:label="@string/product_name_android" android:name="org.chromium.chromoting.RemotingApplication" android:icon="@mipmap/ic_launcher" android:theme="@style/BaseTheme" android:allowBackup="false" android:resizeableActivity="true" android:supportsPictureInPicture="false">"
- 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="$SRC/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="$SRC/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="$SRC/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="$SRC/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="$SRC/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="$SRC/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="$SRC/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="$SRC/remoting/android/java/src/org/chromium/chromoting/Desktop.java"
- line="605"
- column="13"/>
- </issue>
- <issue
- id="MonochromeLauncherIcon"
- message="The application adaptive icon is missing a monochrome tag"
- errorLine1="<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">"
- errorLine2="^">
- <location
- file="$SRC/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="$SRC/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>
|