blob: 64d022be3f6405c6e0e6f878293f1a29debfb699 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="4" by="lint 3.0.0-dev">
<issue
id="MissingPermission"
message="Missing permissions required by LocationManager.getLastKnownLocation: android.permission.ACCESS_COARSE_LOCATION or android.permission.ACCESS_FINE_LOCATION"
errorLine1=" return mLocationManager.getLastKnownLocation(provider);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/app/TwilightManager.java"
line="128"
column="28"/>
</issue>
<issue
id="MissingSuperCall"
message="Overriding method should call `super.draw`"
errorLine1=" public void draw(Canvas canvas) {"
errorLine2=" ~~~~">
<location
file="src/android/support/v7/widget/ViewStubCompat.java"
line="151"
column="17"/>
</issue>
<issue
id="DuplicateIds"
message="Duplicate id `@+id/image`, already defined earlier in this layout"
errorLine1=" &lt;ImageView android:id=&quot;@+id/image&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/abc_activity_chooser_view.xml"
line="62"
column="20"/>
<location
file="res/layout/abc_activity_chooser_view.xml"
line="40"
column="20"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type anim"
errorLine1=" parser = resources.getAnimation(id);"
errorLine2=" ~~">
<location
file="src/android/support/graphics/drawable/AnimatorInflaterCompat.java"
line="130"
column="45"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type xml"
errorLine1=" final XmlPullParser parser = res.getXml(resId);"
errorLine2=" ~~~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="347"
column="61"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type layout"
errorLine1=" parser = mContext.getResources().getLayout(menuRes);"
errorLine2=" ~~~~~~~">
<location
file="src/android/support/v7/view/SupportMenuInflater.java"
line="123"
column="56"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type xml"
errorLine1=" final XmlPullParser parser = res.getXml(resId);"
errorLine2=" ~~~~~">
<location
file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
line="557"
column="53"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -2147483648)"
errorLine1=" MeasureSpec.makeMeasureSpec(largestChildHeight,"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/LinearLayoutCompat.java"
line="868"
column="61"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -2147483648)"
errorLine1=" MeasureSpec.makeMeasureSpec(largestChildWidth, MeasureSpec.EXACTLY),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/LinearLayoutCompat.java"
line="1286"
column="61"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -1)"
errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, MeasureSpec.AT_MOST);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/SlidingPaneLayout.java"
line="536"
column="63"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -1)"
errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight, MeasureSpec.EXACTLY);"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/SlidingPaneLayout.java"
line="538"
column="63"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -1)"
errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight,"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/SlidingPaneLayout.java"
line="586"
column="79"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -1)"
errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight,"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/SlidingPaneLayout.java"
line="589"
column="79"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -1)"
errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight,"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/SlidingPaneLayout.java"
line="608"
column="75"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -1)"
errorLine1=" childHeightSpec = MeasureSpec.makeMeasureSpec(maxLayoutHeight,"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/SlidingPaneLayout.java"
line="611"
column="75"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/preference_dropdown.xml"
line="29"
column="9"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout-v11/preference_dropdown.xml"
line="30"
column="9"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout-v17/preference_dropdown_material.xml"
line="32"
column="9"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout-v21/preference_dropdown_material.xml"
line="32"
column="9"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/preference_dropdown_material.xml"
line="32"
column="9"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
errorLine1=" Log.w(TAG, &quot;Couldn&apos;t set home-as-up indicator via JB-MR2 API&quot;, e);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/app/ActionBarDrawerToggleHoneycomb.java"
line="62"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
errorLine1=" Log.w(TAG, &quot;Couldn&apos;t set home-as-up indicator&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/app/ActionBarDrawerToggleHoneycomb.java"
line="67"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
errorLine1=" Log.w(TAG, &quot;Couldn&apos;t set content description via JB-MR2 API&quot;, e);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/app/ActionBarDrawerToggleHoneycomb.java"
line="87"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.d(TAG, &quot;[loadDrawableFromDelegates] Skipping drawable: &quot;"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="315"
column="31"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.i(TAG, &quot;[loadDrawableFromDelegates] Returning cached drawable: &quot; +"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="337"
column="27"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.i(TAG, &quot;[loadDrawableFromDelegates] Saved drawable to cache: &quot; +"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="372"
column="35"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.e(TAG, &quot;Exception while inflating drawable&quot;, e);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="377"
column="27"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.d(TAG, &quot;[tintDrawableUsingColorFilter] Tinted &quot;"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="482"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.d(TAG, &quot;Mutated drawable is not the same instance as the input.&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="698"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;Adding item #&quot; + position + &quot;: f=&quot; + fragment);"
errorLine2=" ~~~">
<location
file="java/android/support/v4/app/FragmentStatePagerAdapter.java"
line="110"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;Removing item #&quot; + position + &quot;: f=&quot; + object"
errorLine2=" ~~~">
<location
file="java/android/support/v4/app/FragmentStatePagerAdapter.java"
line="135"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
errorLine1=" Log.w(TAG, &quot;Bad fragment at key &quot; + key);"
errorLine2=" ~~~">
<location
file="java/android/support/v4/app/FragmentStatePagerAdapter.java"
line="224"
column="31"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 28 (RoundedBitmapDrawableFactory)"
errorLine1=" Log.w(TAG, &quot;RoundedBitmapDrawable cannot decode &quot; + filepath);"
errorLine2=" ~~~">
<location
file="java/android/support/v4/graphics/drawable/RoundedBitmapDrawableFactory.java"
line="80"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 28 (RoundedBitmapDrawableFactory)"
errorLine1=" Log.w(TAG, &quot;RoundedBitmapDrawable cannot decode &quot; + is);"
errorLine2=" ~~~">
<location
file="java/android/support/v4/graphics/drawable/RoundedBitmapDrawableFactory.java"
line="93"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
errorLine1=" Log.d(TAG, &quot;found saved state: &quot; + mPendingSavedState);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
line="783"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
errorLine1=" Log.d(TAG, &quot;Deciding anchor info from fresh state&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
line="828"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
errorLine1=" Log.d(TAG, &quot;invalid saved state class&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
line="1187"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
errorLine1=" Log.d(TAG, &quot;saved state:\n&quot; + state);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
line="1236"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
errorLine1=" Log.d(TAG, &quot;FILLING targetLine: &quot; + targetLine + &quot;,&quot;"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
line="1559"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
errorLine1=" Log.d(TAG, &quot;assigned &quot; + currentSpan.mIndex + &quot; for &quot; + position);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
line="1580"
column="27"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
errorLine1=" Log.d(TAG, &quot;using &quot; + spanIndex + &quot; for pos &quot; + position);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
line="1584"
column="27"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
errorLine1=" Log.d(TAG, &quot;asked &quot; + dt + &quot; scrolled&quot; + totalScroll);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
line="2153"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
errorLine1=" Log.d(TAG, &quot;Unknown focus request:&quot; + focusDirection);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
line="2385"
column="27"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (WakefulBroadcastReceiver)"
errorLine1=" Log.w(&quot;WakefulBroadcastReceiver&quot;, &quot;No active wake lock id #&quot; + id);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
line="141"
column="19"/>
</issue>
<issue
id="UniqueConstants"
message="Constants `FLAG_CVE_EQ_PVE` and `FLAG_CVE_EQ_PVE` specify the same exact value (8192); this is usually a cut &amp; paste or merge error"
errorLine1=" FLAG_CVE_EQ_PVE, FLAG_CVE_EQ_PVE, FLAG_CVE_LT_PVE"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/ViewBoundsCheck.java"
line="125"
column="30"/>
<location
file="src/android/support/v7/widget/ViewBoundsCheck.java"
line="125"
column="13"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: PixelFormat.UNKNOWN, PixelFormat.TRANSLUCENT, PixelFormat.TRANSPARENT, PixelFormat.OPAQUE"
errorLine1=" return 0;"
errorLine2=" ~">
<location
file="src/android/support/v7/widget/ActionBarBackgroundDrawable.java"
line="59"
column="16"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END"
errorLine1=" setDrawerLockMode(lockMode, gravity);"
errorLine2=" ~~~~~~~">
<location
file="java/android/support/v4/widget/DrawerLayout.java"
line="634"
column="37"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END"
errorLine1=" return getDrawerLockMode(drawerGravity);"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/DrawerLayout.java"
line="707"
column="34"/>
</issue>
<issue
id="WrongConstant"
message="Flag not allowed here"
errorLine1=" getDrawerViewAbsoluteGravity(child) &amp; Gravity.HORIZONTAL_GRAVITY_MASK;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/DrawerLayout.java"
line="1067"
column="25"/>
</issue>
<issue
id="WrongConstant"
message="Must be one or more of: ActionBar.DISPLAY_USE_LOGO, ActionBar.DISPLAY_SHOW_HOME, ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_CUSTOM"
errorLine1=" setDisplayOptions(options, 0xffffffff);"
errorLine2=" ~~~~~~~~~~">
<location
file="src/android/support/v7/app/ToolbarActionBar.java"
line="254"
column="36"/>
</issue>
<issue
id="WrongConstant"
message="Must be one or more of: ActionBar.DISPLAY_USE_LOGO, ActionBar.DISPLAY_SHOW_HOME, ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_CUSTOM"
errorLine1=" setDisplayOptions(options, 0xffffffff);"
errorLine2=" ~~~~~~~~~~">
<location
file="src/android/support/v7/app/ToolbarActionBar.java"
line="254"
column="36"/>
</issue>
</issues>