blob: 6cd82896ca74c7a14dc1b5750bead93d897a341b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="4" by="lint 2.4.0-alpha6">
<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.onAnimationEnd`"
errorLine1=" public void onAnimationEnd(Animation animation) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/app/FragmentManager.java"
line="1604"
column="29"/>
</issue>
<issue
id="MissingSuperCall"
message="Overriding method should call `super.onAnimationEnd`"
errorLine1=" public void onAnimationEnd(Animation animation) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/app/FragmentManager.java"
line="3935"
column="21"/>
</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="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="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="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatAutoCompleteTextView` instead"
errorLine1="public class AppCompatAutoCompleteTextView extends AutoCompleteTextView implements"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatAutoCompleteTextView.java"
line="49"
column="52"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatButton` instead"
errorLine1="public class AppCompatButton extends Button implements TintableBackgroundView {"
errorLine2=" ~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatButton.java"
line="51"
column="38"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatCheckBox` instead"
errorLine1="public class AppCompatCheckBox extends CheckBox implements TintableCompoundButton {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatCheckBox.java"
line="49"
column="40"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatCheckedTextView` instead"
errorLine1="public class AppCompatCheckedTextView extends CheckedTextView {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatCheckedTextView.java"
line="33"
column="47"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatEditText` instead"
errorLine1="public class AppCompatEditText extends EditText implements TintableBackgroundView {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatEditText.java"
line="48"
column="40"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatImageButton` instead"
errorLine1="public class AppCompatImageButton extends ImageButton implements TintableBackgroundView,"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatImageButton.java"
line="58"
column="43"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatImageView` instead"
errorLine1="public class AppCompatImageView extends ImageView implements TintableBackgroundView,"
errorLine2=" ~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatImageView.java"
line="57"
column="41"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatMultiAutoCompleteTextView` instead"
errorLine1="public class AppCompatMultiAutoCompleteTextView extends MultiAutoCompleteTextView"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatMultiAutoCompleteTextView.java"
line="49"
column="57"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatRadioButton` instead"
errorLine1="public class AppCompatRadioButton extends RadioButton implements TintableCompoundButton {"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatRadioButton.java"
line="49"
column="43"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatRatingBar` instead"
errorLine1="public class AppCompatRatingBar extends RatingBar {"
errorLine2=" ~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatRatingBar.java"
line="34"
column="41"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatSeekBar` instead"
errorLine1="public class AppCompatSeekBar extends SeekBar {"
errorLine2=" ~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatSeekBar.java"
line="34"
column="39"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatSpinner` instead"
errorLine1="public class AppCompatSpinner extends Spinner implements TintableBackgroundView {"
errorLine2=" ~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatSpinner.java"
line="68"
column="39"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatTextView` instead"
errorLine1="public class AppCompatTextView extends TextView implements TintableBackgroundView,"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatTextView.java"
line="60"
column="40"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatImageView` instead"
errorLine1="class CircleImageView extends ImageView {"
errorLine2=" ~~~~~~~~~">
<location
file="java/android/support/v4/widget/CircleImageView.java"
line="38"
column="31"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatTextView` instead"
errorLine1="public class DialogTitle extends TextView {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v7/widget/DialogTitle.java"
line="37"
column="34"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatImageButton` instead"
errorLine1="class VisibilityAwareImageButton extends ImageButton {"
errorLine2=" ~~~~~~~~~~~">
<location
file="base/android/support/design/widget/VisibilityAwareImageButton.java"
line="23"
column="42"/>
</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 or more of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END"
errorLine1=" + gravityToString(childGravity) + &quot; but this &quot; + TAG + &quot; already has a &quot;"
errorLine2=" ~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/DrawerLayout.java"
line="1075"
column="47"/>
</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>