Enable all default lint checks and establish baseline.
This change enables running all default lint checks in addition
to newApi check. It also creates a baseline of existing issues
that will catch any new lint bugs that come up while allowing us
to fix legacy issues at our own pace.
Test: ./gradlew lintRelease
Change-Id: I9a187874a7750862e74aa6744ecd38bde8f5a37c
diff --git a/buildSrc/init.gradle b/buildSrc/init.gradle
index 5c61cc2..a3ce8ba 100644
--- a/buildSrc/init.gradle
+++ b/buildSrc/init.gradle
@@ -208,7 +208,6 @@
}
// Enforce NewApi lint check as fatal.
- project.android.lintOptions.check 'NewApi'
project.android.lintOptions.fatal 'NewApi'
lintTask.dependsOn project.lint
}
diff --git a/buildSrc/src/main/groovy/android/support/SupportLibraryPlugin.groovy b/buildSrc/src/main/groovy/android/support/SupportLibraryPlugin.groovy
index 6dc2d90..6eaf29f 100644
--- a/buildSrc/src/main/groovy/android/support/SupportLibraryPlugin.groovy
+++ b/buildSrc/src/main/groovy/android/support/SupportLibraryPlugin.groovy
@@ -90,7 +90,7 @@
textOutput 'stderr'
textReport true
htmlReport false
- xmlReport false
+ //xmlReport false
// Format output for convenience.
explainIssues true
@@ -99,6 +99,12 @@
// Always fail on NewApi.
error 'NewApi'
+
+ // TODO(aurimas): figure out the issue with missing translation check
+ disable 'MissingTranslation'
+
+ // Set baseline file for all legacy lint warnings.
+ baseline new File(project.projectDir, "/lint-baseline.xml")
}
// Java 8 is only fully supported on API 24+ and not all Java 8 features are binary
diff --git a/compat/lint-baseline.xml b/compat/lint-baseline.xml
new file mode 100644
index 0000000..8baf980
--- /dev/null
+++ b/compat/lint-baseline.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/core-ui/lint-baseline.xml b/core-ui/lint-baseline.xml
new file mode 100644
index 0000000..92033ee
--- /dev/null
+++ b/core-ui/lint-baseline.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/core-utils/lint-baseline.xml b/core-utils/lint-baseline.xml
new file mode 100644
index 0000000..286a168
--- /dev/null
+++ b/core-utils/lint-baseline.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 28 (RoundedBitmapDrawableFactory)"
+ errorLine1=" Log.w(TAG, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/customtabs/lint-baseline.xml b/customtabs/lint-baseline.xml
new file mode 100644
index 0000000..8baf980
--- /dev/null
+++ b/customtabs/lint-baseline.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/design/lint-baseline.xml b/design/lint-baseline.xml
new file mode 100644
index 0000000..699e136
--- /dev/null
+++ b/design/lint-baseline.xml
@@ -0,0 +1,738 @@
+<?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=" <ImageView android:id="@+id/image""
+ 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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
+ errorLine1=" Log.w(TAG, "Couldn't set home-as-up indicator via JB-MR2 API", 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, "Couldn't set home-as-up indicator");"
+ 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, "Couldn't set content description via JB-MR2 API", 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, "[loadDrawableFromDelegates] Skipping drawable: ""
+ 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, "[loadDrawableFromDelegates] Returning cached drawable: " +"
+ 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, "[loadDrawableFromDelegates] Saved drawable to cache: " +"
+ 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, "Exception while inflating drawable", 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, "[tintDrawableUsingColorFilter] Tinted ""
+ 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, "Mutated drawable is not the same instance as the input.");"
+ 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, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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, "found saved state: " + 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, "Deciding anchor info from fresh state");"
+ 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, "invalid saved state class");"
+ 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, "saved state:\n" + 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, "FILLING targetLine: " + targetLine + ",""
+ 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, "assigned " + currentSpan.mIndex + " for " + 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, "using " + spanIndex + " for pos " + 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, "asked " + dt + " scrolled" + 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, "Unknown focus request:" + 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("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ 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="UniqueConstants"
+ message="Constants `FLAG_CVE_EQ_PVE` and `FLAG_CVE_EQ_PVE` specify the same exact value (8192); this is usually a cut & 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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </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>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.LAYOUT_DIRECTION_LTR, View.LAYOUT_DIRECTION_RTL"
+ errorLine1=" return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
+ line="821"
+ column="64"/>
+ </issue>
+
+</issues>
diff --git a/dynamic-animation/lint-baseline.xml b/dynamic-animation/lint-baseline.xml
new file mode 100644
index 0000000..286a168
--- /dev/null
+++ b/dynamic-animation/lint-baseline.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 28 (RoundedBitmapDrawableFactory)"
+ errorLine1=" Log.w(TAG, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/emoji/appcompat/lint-baseline.xml b/emoji/appcompat/lint-baseline.xml
new file mode 100644
index 0000000..ea92b35
--- /dev/null
+++ b/emoji/appcompat/lint-baseline.xml
@@ -0,0 +1,657 @@
+<?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=" <ImageView android:id="@+id/image""
+ 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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
+ errorLine1=" Log.w(TAG, "Couldn't set home-as-up indicator via JB-MR2 API", 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, "Couldn't set home-as-up indicator");"
+ 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, "Couldn't set content description via JB-MR2 API", 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, "[loadDrawableFromDelegates] Skipping drawable: ""
+ 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, "[loadDrawableFromDelegates] Returning cached drawable: " +"
+ 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, "[loadDrawableFromDelegates] Saved drawable to cache: " +"
+ 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, "Exception while inflating drawable", 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, "[tintDrawableUsingColorFilter] Tinted ""
+ 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, "Mutated drawable is not the same instance as the input.");"
+ 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, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ 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.AppCompatButton` instead"
+ errorLine1="public class EmojiButton extends Button {"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/android/support/text/emoji/widget/EmojiButton.java"
+ line="29"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="AppCompatCustomView"
+ message="This custom view should extend `android.support.v7.widget.AppCompatEditText` instead"
+ errorLine1="public class EmojiEditText extends EditText {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/android/support/text/emoji/widget/EmojiEditText.java"
+ line="33"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="AppCompatCustomView"
+ message="This custom view should extend `android.support.v7.widget.AppCompatTextView` instead"
+ errorLine1="public class EmojiTextView extends TextView {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/android/support/text/emoji/widget/EmojiTextView.java"
+ line="29"
+ column="36"/>
+ </issue>
+
+ <issue
+ id="AppCompatCustomView"
+ message="This custom view should extend `android.support.v7.widget.AppCompatButton` instead"
+ errorLine1="public class ExtractButtonCompat extends Button {"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/android/support/text/emoji/widget/ExtractButtonCompat.java"
+ line="34"
+ 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 of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END"
+ errorLine1=" setDrawerLockMode(lockMode, gravity);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </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>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.LAYOUT_DIRECTION_LTR, View.LAYOUT_DIRECTION_RTL"
+ errorLine1=" return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
+ line="821"
+ column="64"/>
+ </issue>
+
+</issues>
diff --git a/emoji/bundled/lint-baseline.xml b/emoji/bundled/lint-baseline.xml
new file mode 100644
index 0000000..8baf980
--- /dev/null
+++ b/emoji/bundled/lint-baseline.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/emoji/core/lint-baseline.xml b/emoji/core/lint-baseline.xml
new file mode 100644
index 0000000..8baf980
--- /dev/null
+++ b/emoji/core/lint-baseline.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/exifinterface/lint-baseline.xml b/exifinterface/lint-baseline.xml
new file mode 100644
index 0000000..172bbf6
--- /dev/null
+++ b/exifinterface/lint-baseline.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+</issues>
diff --git a/fragment/lint-baseline.xml b/fragment/lint-baseline.xml
new file mode 100644
index 0000000..af4f6fd
--- /dev/null
+++ b/fragment/lint-baseline.xml
@@ -0,0 +1,202 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ column="19"/>
+ </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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/graphics/drawable/animated/lint-baseline.xml b/graphics/drawable/animated/lint-baseline.xml
new file mode 100644
index 0000000..be32a24
--- /dev/null
+++ b/graphics/drawable/animated/lint-baseline.xml
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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/graphics/drawable/VectorDrawableCompat.java"
+ line="557"
+ column="53"/>
+ </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="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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.LAYOUT_DIRECTION_LTR, View.LAYOUT_DIRECTION_RTL"
+ errorLine1=" return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
+ line="821"
+ column="64"/>
+ </issue>
+
+</issues>
diff --git a/graphics/drawable/static/lint-baseline.xml b/graphics/drawable/static/lint-baseline.xml
new file mode 100644
index 0000000..c8740c9
--- /dev/null
+++ b/graphics/drawable/static/lint-baseline.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.LAYOUT_DIRECTION_LTR, View.LAYOUT_DIRECTION_RTL"
+ errorLine1=" return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
+ line="821"
+ column="64"/>
+ </issue>
+
+</issues>
diff --git a/media-compat/lint-baseline.xml b/media-compat/lint-baseline.xml
new file mode 100644
index 0000000..8baf980
--- /dev/null
+++ b/media-compat/lint-baseline.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/percent/lint-baseline.xml b/percent/lint-baseline.xml
new file mode 100644
index 0000000..8baf980
--- /dev/null
+++ b/percent/lint-baseline.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/recommendation/lint-baseline.xml b/recommendation/lint-baseline.xml
new file mode 100644
index 0000000..af4f6fd
--- /dev/null
+++ b/recommendation/lint-baseline.xml
@@ -0,0 +1,202 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ column="19"/>
+ </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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/samples/Support13Demos/build.gradle b/samples/Support13Demos/build.gradle
index aa64333..d1d4471 100644
--- a/samples/Support13Demos/build.gradle
+++ b/samples/Support13Demos/build.gradle
@@ -21,6 +21,7 @@
lintOptions {
checkReleaseBuilds false
abortOnError false
+ check 'NewApi'
}
signingConfigs {
diff --git a/samples/Support4Demos/build.gradle b/samples/Support4Demos/build.gradle
index b6bbcec..353b17f 100644
--- a/samples/Support4Demos/build.gradle
+++ b/samples/Support4Demos/build.gradle
@@ -28,6 +28,7 @@
lintOptions {
checkReleaseBuilds false
abortOnError true
+ check 'NewApi'
}
compileOptions {
diff --git a/samples/Support7Demos/build.gradle b/samples/Support7Demos/build.gradle
index 2873794..0da74be 100644
--- a/samples/Support7Demos/build.gradle
+++ b/samples/Support7Demos/build.gradle
@@ -33,6 +33,7 @@
lintOptions {
abortOnError true
+ check 'NewApi'
}
compileOptions {
diff --git a/samples/SupportAnimationDemos/build.gradle b/samples/SupportAnimationDemos/build.gradle
index 91f8c78..6f3daf9 100644
--- a/samples/SupportAnimationDemos/build.gradle
+++ b/samples/SupportAnimationDemos/build.gradle
@@ -27,6 +27,7 @@
lintOptions {
abortOnError true
+ check 'NewApi'
}
compileOptions {
diff --git a/samples/SupportAppNavigation/build.gradle b/samples/SupportAppNavigation/build.gradle
index fdbad1b..59c5794 100644
--- a/samples/SupportAppNavigation/build.gradle
+++ b/samples/SupportAppNavigation/build.gradle
@@ -35,6 +35,7 @@
lintOptions {
abortOnError true
+ check 'NewApi'
}
compileOptions {
diff --git a/samples/SupportDesignDemos/build.gradle b/samples/SupportDesignDemos/build.gradle
index 129fd51..ac0b714 100644
--- a/samples/SupportDesignDemos/build.gradle
+++ b/samples/SupportDesignDemos/build.gradle
@@ -28,6 +28,7 @@
lintOptions {
abortOnError true
+ check 'NewApi'
}
compileOptions {
diff --git a/samples/SupportEmojiDemos/build.gradle b/samples/SupportEmojiDemos/build.gradle
index d02dddd..3c32d48 100644
--- a/samples/SupportEmojiDemos/build.gradle
+++ b/samples/SupportEmojiDemos/build.gradle
@@ -40,6 +40,11 @@
main.assets.srcDirs = [new File(fontDir, "supported-emojis").getAbsolutePath()]
}
+ lintOptions {
+ abortOnError true
+ check 'NewApi'
+ }
+
signingConfigs {
debug {
// Use a local debug keystore to avoid build server issues.
diff --git a/samples/SupportLeanbackDemos/build.gradle b/samples/SupportLeanbackDemos/build.gradle
index 260bd8b..122d718 100644
--- a/samples/SupportLeanbackDemos/build.gradle
+++ b/samples/SupportLeanbackDemos/build.gradle
@@ -28,6 +28,7 @@
lintOptions {
abortOnError false
+ check 'NewApi'
}
compileOptions {
diff --git a/samples/SupportLeanbackJank/build.gradle b/samples/SupportLeanbackJank/build.gradle
index 0072ea6..0b22bed 100644
--- a/samples/SupportLeanbackJank/build.gradle
+++ b/samples/SupportLeanbackJank/build.gradle
@@ -29,6 +29,7 @@
lintOptions {
abortOnError true
+ check 'NewApi'
}
compileOptions {
diff --git a/samples/SupportPercentDemos/build.gradle b/samples/SupportPercentDemos/build.gradle
index 03f8a8c..78eba62 100644
--- a/samples/SupportPercentDemos/build.gradle
+++ b/samples/SupportPercentDemos/build.gradle
@@ -20,6 +20,7 @@
lintOptions {
abortOnError true
+ check 'NewApi'
}
signingConfigs {
diff --git a/samples/SupportPreferenceDemos/build.gradle b/samples/SupportPreferenceDemos/build.gradle
index e714e69..572ae73 100644
--- a/samples/SupportPreferenceDemos/build.gradle
+++ b/samples/SupportPreferenceDemos/build.gradle
@@ -32,6 +32,7 @@
lintOptions {
abortOnError false
+ check 'NewApi'
}
compileOptions {
diff --git a/samples/SupportTransitionDemos/build.gradle b/samples/SupportTransitionDemos/build.gradle
index dfed279..c5033f7 100644
--- a/samples/SupportTransitionDemos/build.gradle
+++ b/samples/SupportTransitionDemos/build.gradle
@@ -21,6 +21,7 @@
lintOptions {
abortOnError true
+ check 'NewApi'
}
signingConfigs {
diff --git a/samples/SupportWearDemos/build.gradle b/samples/SupportWearDemos/build.gradle
index 0eac8a1..a4d0c61 100644
--- a/samples/SupportWearDemos/build.gradle
+++ b/samples/SupportWearDemos/build.gradle
@@ -45,6 +45,7 @@
lintOptions {
checkReleaseBuilds false
abortOnError false
+ check 'NewApi'
}
compileOptions {
diff --git a/transition/lint-baseline.xml b/transition/lint-baseline.xml
new file mode 100644
index 0000000..af4f6fd
--- /dev/null
+++ b/transition/lint-baseline.xml
@@ -0,0 +1,202 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ column="19"/>
+ </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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/tv-provider/lint-baseline.xml b/tv-provider/lint-baseline.xml
new file mode 100644
index 0000000..0841bf0
--- /dev/null
+++ b/tv-provider/lint-baseline.xml
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: PreviewProgramColumns.TYPE_MOVIE, PreviewProgramColumns.TYPE_TV_SERIES, PreviewProgramColumns.TYPE_TV_SEASON, PreviewProgramColumns.TYPE_TV_EPISODE, PreviewProgramColumns.TYPE_CLIP, PreviewProgramColumns.TYPE_EVENT, PreviewProgramColumns.TYPE_CHANNEL, PreviewProgramColumns.TYPE_TRACK, PreviewProgramColumns.TYPE_ALBUM, PreviewProgramColumns.TYPE_ARTIST, PreviewProgramColumns.TYPE_PLAYLIST, PreviewProgramColumns.TYPE_STATION"
+ errorLine1=" return i == null ? INVALID_INT_VALUE : i;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/media/tv/BasePreviewProgram.java"
+ line="128"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: PreviewProgramColumns.ASPECT_RATIO_16_9, PreviewProgramColumns.ASPECT_RATIO_3_2, PreviewProgramColumns.ASPECT_RATIO_4_3, PreviewProgramColumns.ASPECT_RATIO_1_1, PreviewProgramColumns.ASPECT_RATIO_2_3"
+ errorLine1=" return i == null ? INVALID_INT_VALUE : i;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/media/tv/BasePreviewProgram.java"
+ line="138"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: PreviewProgramColumns.ASPECT_RATIO_16_9, PreviewProgramColumns.ASPECT_RATIO_3_2, PreviewProgramColumns.ASPECT_RATIO_4_3, PreviewProgramColumns.ASPECT_RATIO_1_1, PreviewProgramColumns.ASPECT_RATIO_2_3"
+ errorLine1=" return i == null ? INVALID_INT_VALUE : i;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/media/tv/BasePreviewProgram.java"
+ line="148"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: PreviewProgramColumns.AVAILABILITY_AVAILABLE, PreviewProgramColumns.AVAILABILITY_FREE_WITH_SUBSCRIPTION, PreviewProgramColumns.AVAILABILITY_PAID_CONTENT"
+ errorLine1=" return i == null ? INVALID_INT_VALUE : i;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/media/tv/BasePreviewProgram.java"
+ line="166"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: PreviewProgramColumns.INTERACTION_TYPE_VIEWS, PreviewProgramColumns.INTERACTION_TYPE_LISTENS, PreviewProgramColumns.INTERACTION_TYPE_FOLLOWERS, PreviewProgramColumns.INTERACTION_TYPE_FANS, PreviewProgramColumns.INTERACTION_TYPE_LIKES, PreviewProgramColumns.INTERACTION_TYPE_THUMBS, PreviewProgramColumns.INTERACTION_TYPE_VIEWERS"
+ errorLine1=" return i == null ? INVALID_INT_VALUE : i;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/media/tv/BasePreviewProgram.java"
+ line="217"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: ProgramColumns.REVIEW_RATING_STYLE_STARS, ProgramColumns.REVIEW_RATING_STYLE_THUMBS_UP_DOWN, ProgramColumns.REVIEW_RATING_STYLE_PERCENTAGE"
+ errorLine1=" return i == null ? INVALID_INT_VALUE : i;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/media/tv/BaseProgram.java"
+ line="256"
+ column="28"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: Genres.FAMILY_KIDS, Genres.SPORTS, Genres.SHOPPING, Genres.MOVIES, Genres.COMEDY, Genres.TRAVEL, Genres.DRAMA, Genres.EDUCATION, Genres.ANIMAL_WILDLIFE, Genres.NEWS, Genres.GAMING, Genres.ARTS, Genres.ENTERTAINMENT, Genres.LIFE_STYLE, Genres.MUSIC, Genres.PREMIER, Genres.TECH_SCIENCE"
+ errorLine1=" mValues.put(Programs.COLUMN_BROADCAST_GENRE, Programs.Genres.encode(genres));"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/android/support/media/tv/Program.java"
+ line="285"
+ column="81"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: WatchNextPrograms.WATCH_NEXT_TYPE_CONTINUE, WatchNextPrograms.WATCH_NEXT_TYPE_NEXT, WatchNextPrograms.WATCH_NEXT_TYPE_NEW, WatchNextPrograms.WATCH_NEXT_TYPE_WATCHLIST"
+ errorLine1=" return i == null ? INVALID_INT_VALUE : i;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/media/tv/WatchNextProgram.java"
+ line="95"
+ column="28"/>
+ </issue>
+
+</issues>
diff --git a/v13/lint-baseline.xml b/v13/lint-baseline.xml
new file mode 100644
index 0000000..af4f6fd
--- /dev/null
+++ b/v13/lint-baseline.xml
@@ -0,0 +1,202 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ column="19"/>
+ </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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/v14/preference/lint-baseline.xml b/v14/preference/lint-baseline.xml
new file mode 100644
index 0000000..01980cc
--- /dev/null
+++ b/v14/preference/lint-baseline.xml
@@ -0,0 +1,793 @@
+<?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=" <ImageView android:id="@+id/image""
+ 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="0dp""
+ 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="0dp""
+ 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="0dp""
+ 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="0dp""
+ 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="0dp""
+ 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, "Couldn't set home-as-up indicator via JB-MR2 API", 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, "Couldn't set home-as-up indicator");"
+ 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, "Couldn't set content description via JB-MR2 API", 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, "[loadDrawableFromDelegates] Skipping drawable: ""
+ 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, "[loadDrawableFromDelegates] Returning cached drawable: " +"
+ 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, "[loadDrawableFromDelegates] Saved drawable to cache: " +"
+ 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, "Exception while inflating drawable", 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, "[tintDrawableUsingColorFilter] Tinted ""
+ 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, "Mutated drawable is not the same instance as the input.");"
+ 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, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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, "found saved state: " + 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, "Deciding anchor info from fresh state");"
+ 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, "invalid saved state class");"
+ 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, "saved state:\n" + 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, "FILLING targetLine: " + targetLine + ",""
+ 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, "assigned " + currentSpan.mIndex + " for " + 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, "using " + spanIndex + " for pos " + 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, "asked " + dt + " scrolled" + 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, "Unknown focus request:" + 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("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ 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.AppCompatImageView` instead"
+ errorLine1="public class PreferenceImageView extends ImageView {"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/android/support/v7/internal/widget/PreferenceImageView.java"
+ line="33"
+ column="42"/>
+ </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 & 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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </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>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.LAYOUT_DIRECTION_LTR, View.LAYOUT_DIRECTION_RTL"
+ errorLine1=" return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
+ line="821"
+ column="64"/>
+ </issue>
+
+</issues>
diff --git a/v17/leanback/lint-baseline.xml b/v17/leanback/lint-baseline.xml
new file mode 100644
index 0000000..5a13466
--- /dev/null
+++ b/v17/leanback/lint-baseline.xml
@@ -0,0 +1,694 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="ResourceType"
+ message="Expected resource of type string"
+ errorLine1=" ? Float.parseFloat(res.getString(R.dimen.lb_browse_header_select_scale))"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/FocusHighlightHelper.java"
+ line="276"
+ column="58"/>
+ </issue>
+
+ <issue
+ id="ResourceType"
+ message="Expected resource of type string"
+ errorLine1=" Integer.parseInt(res.getString(R.dimen.lb_browse_header_select_duration));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/FocusHighlightHelper.java"
+ line="279"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ResourceType"
+ message="Expected resource of type anim or interpolator"
+ errorLine1=" R.animator.lb_decelerator_4));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="kitkat/android/support/v17/leanback/transition/LeanbackTransitionHelperKitKat.java"
+ line="38"
+ column="17"/>
+ </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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 27 (DetailsOverviewRowPresenter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onLayoutChange " + v);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/DetailsOverviewRowPresenter.java"
+ line="178"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 27 (DetailsOverviewRowPresenter)"
+ errorLine1=" Log.v(TAG, "checkFirstAndLast fromScroll " + fromScroll"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/DetailsOverviewRowPresenter.java"
+ line="237"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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 36 (FullWidthDetailsOverviewRowPresenter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onLayoutChange " + v);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/FullWidthDetailsOverviewRowPresenter.java"
+ line="236"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 36 (FullWidthDetailsOverviewRowPresenter)"
+ errorLine1=" Log.v(TAG, "checkFirstAndLast fromScroll " + fromScroll"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/FullWidthDetailsOverviewRowPresenter.java"
+ line="295"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" Log.w(TAG, "Fragment is already exists, likely calling ""
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="641"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onCreate");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="999"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onCreateView");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="1038"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Found guided step theme flag? " + found);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="1237"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Found guided step theme reference? " + found);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="1350"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" Log.e(TAG, "GuidedStepSupportFragment does not have an appropriate theme set.");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="1362"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (OnboardingSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Found onboarding theme reference? " + found);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/OnboardingSupportFragment.java"
+ line="552"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onAnimationEnd " + mBgAlpha);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="148"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "setFadingEnabled " + enabled);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="236"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "tickle enabled " + mFadingEnabled + " isResumed " + isResumed());"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="313"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onInterceptInputEvent hidden " + controlsHidden + " " + event);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="363"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "fraction " + fraction);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="481"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "fade " + fadeIn);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="577"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "requested fade in progress");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="582"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "fade is no-op");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="586"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onAttachedToWindow " + vh.getViewHolder().view);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="770"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "setting alpha to 0");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="772"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onDetachedFromWindow " + vh.getViewHolder().view);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="781"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 28 (RoundedBitmapDrawableFactory)"
+ errorLine1=" Log.w(TAG, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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, "found saved state: " + 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, "Deciding anchor info from fresh state");"
+ 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, "invalid saved state class");"
+ 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, "saved state:\n" + 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, "FILLING targetLine: " + targetLine + ",""
+ 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, "assigned " + currentSpan.mIndex + " for " + 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, "using " + spanIndex + " for pos " + 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, "asked " + dt + " scrolled" + 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, "Unknown focus request:" + 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 27 (VerticalGridSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "grid selected position " + position);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/VerticalGridSupportFragment.java"
+ line="120"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + 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 & 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="Orientation"
+ message="No orientation specified, and the default is horizontal. This is a common source of bugs when children are added dynamically."
+ errorLine1=" <LinearLayout"
+ errorLine2=" ^">
+ <location
+ file="res/layout/lb_row_media_item.xml"
+ line="63"
+ column="13"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
+ errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/app/BrowseFragment.java"
+ line="1029"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
+ errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/app/BrowseSupportFragment.java"
+ line="1032"
+ column="71"/>
+ </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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.VISIBLE, View.INVISIBLE, View.GONE"
+ errorLine1=" v.setVisibility(mChildVisibility);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/GridLayoutManager.java"
+ line="1566"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.VISIBLE, View.INVISIBLE, View.GONE"
+ errorLine1=" getChildAt(i).setVisibility(mChildVisibility);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/GridLayoutManager.java"
+ line="3468"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
+ errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(view) == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/HorizontalHoverCardSwitcher.java"
+ line="50"
+ column="64"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
+ errorLine1=" == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/TitleHelper.java"
+ line="49"
+ column="24"/>
+ </issue>
+
+ <issue
+ id="RtlCompat"
+ message="Inconsistent alignment specification between `textAlignment` and `gravity` attributes: was `center_vertical|end`, expected `start`"
+ errorLine1=" android:textAlignment="viewStart""
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="res/layout/lb_search_bar.xml"
+ line="70"
+ column="44"/>
+ <location
+ file="res/layout/lb_search_bar.xml"
+ line="57"
+ column="45"/>
+ </issue>
+
+</issues>
diff --git a/v17/preference-leanback/lint-baseline.xml b/v17/preference-leanback/lint-baseline.xml
new file mode 100644
index 0000000..295fb15
--- /dev/null
+++ b/v17/preference-leanback/lint-baseline.xml
@@ -0,0 +1,1285 @@
+<?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=" <ImageView android:id="@+id/image""
+ 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 string"
+ errorLine1=" ? Float.parseFloat(res.getString(R.dimen.lb_browse_header_select_scale))"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/FocusHighlightHelper.java"
+ line="276"
+ column="58"/>
+ </issue>
+
+ <issue
+ id="ResourceType"
+ message="Expected resource of type string"
+ errorLine1=" Integer.parseInt(res.getString(R.dimen.lb_browse_header_select_duration));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/FocusHighlightHelper.java"
+ line="279"
+ column="56"/>
+ </issue>
+
+ <issue
+ id="ResourceType"
+ message="Expected resource of type anim or interpolator"
+ errorLine1=" R.animator.lb_decelerator_4));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="kitkat/android/support/v17/leanback/transition/LeanbackTransitionHelperKitKat.java"
+ line="38"
+ column="17"/>
+ </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=" <Space android:layout_width="0dp" android:layout_height="@dimen/lb_preference_item_text_space_top" />"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="res/layout/leanback_list_preference_item_multi.xml"
+ line="42"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="Suspicious0dp"
+ message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
+ errorLine1=" <Space android:layout_width="0dp" android:layout_height="@dimen/lb_preference_item_text_space_top" />"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="res/layout/leanback_list_preference_item_single.xml"
+ line="42"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="Suspicious0dp"
+ message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
+ errorLine1=" <Space android:layout_width="0dp" android:layout_height="@dimen/lb_preference_item_text_space_top" />"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="res/layout/leanback_preference.xml"
+ line="47"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="Suspicious0dp"
+ message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
+ errorLine1=" <Space android:layout_width="0dp" android:layout_height="@dimen/lb_preference_item_text_space_top" />"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="res/layout/leanback_preference_information.xml"
+ line="34"
+ column="16"/>
+ </issue>
+
+ <issue
+ id="Suspicious0dp"
+ message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
+ errorLine1=" android:layout_width="0dp""
+ 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="0dp""
+ 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="0dp""
+ 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="0dp""
+ 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="0dp""
+ 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, "Couldn't set home-as-up indicator via JB-MR2 API", 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, "Couldn't set home-as-up indicator");"
+ 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, "Couldn't set content description via JB-MR2 API", 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, "[loadDrawableFromDelegates] Skipping drawable: ""
+ 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, "[loadDrawableFromDelegates] Returning cached drawable: " +"
+ 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, "[loadDrawableFromDelegates] Saved drawable to cache: " +"
+ 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, "Exception while inflating drawable", 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, "[tintDrawableUsingColorFilter] Tinted ""
+ 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, "Mutated drawable is not the same instance as the input.");"
+ 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 27 (DetailsOverviewRowPresenter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onLayoutChange " + v);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/DetailsOverviewRowPresenter.java"
+ line="178"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 27 (DetailsOverviewRowPresenter)"
+ errorLine1=" Log.v(TAG, "checkFirstAndLast fromScroll " + fromScroll"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/DetailsOverviewRowPresenter.java"
+ line="237"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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 36 (FullWidthDetailsOverviewRowPresenter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onLayoutChange " + v);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/FullWidthDetailsOverviewRowPresenter.java"
+ line="236"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 36 (FullWidthDetailsOverviewRowPresenter)"
+ errorLine1=" Log.v(TAG, "checkFirstAndLast fromScroll " + fromScroll"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/FullWidthDetailsOverviewRowPresenter.java"
+ line="295"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" Log.w(TAG, "Fragment is already exists, likely calling ""
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="641"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onCreate");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="999"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onCreateView");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="1038"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Found guided step theme flag? " + found);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="1237"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Found guided step theme reference? " + found);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="1350"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
+ errorLine1=" Log.e(TAG, "GuidedStepSupportFragment does not have an appropriate theme set.");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
+ line="1362"
+ column="23"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (OnboardingSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Found onboarding theme reference? " + found);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/OnboardingSupportFragment.java"
+ line="552"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onAnimationEnd " + mBgAlpha);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="148"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "setFadingEnabled " + enabled);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="236"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "tickle enabled " + mFadingEnabled + " isResumed " + isResumed());"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="313"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onInterceptInputEvent hidden " + controlsHidden + " " + event);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="363"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "fraction " + fraction);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="481"
+ column="38"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "fade " + fadeIn);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="577"
+ column="26"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "requested fade in progress");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="582"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "fade is no-op");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="586"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onAttachedToWindow " + vh.getViewHolder().view);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="770"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "setting alpha to 0");"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="772"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "onDetachedFromWindow " + vh.getViewHolder().view);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
+ line="781"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 28 (RoundedBitmapDrawableFactory)"
+ errorLine1=" Log.w(TAG, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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, "found saved state: " + 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, "Deciding anchor info from fresh state");"
+ 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, "invalid saved state class");"
+ 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, "saved state:\n" + 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, "FILLING targetLine: " + targetLine + ",""
+ 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, "assigned " + currentSpan.mIndex + " for " + 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, "using " + spanIndex + " for pos " + 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, "asked " + dt + " scrolled" + 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, "Unknown focus request:" + 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 27 (VerticalGridSupportFragment)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "grid selected position " + position);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v17/leanback/app/VerticalGridSupportFragment.java"
+ line="120"
+ column="30"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ 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 CheckableImageView extends ImageView implements Checkable {"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/CheckableImageView.java"
+ line="24"
+ column="34"/>
+ </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.AppCompatEditText` instead"
+ errorLine1="public class GuidedActionEditText extends EditText implements ImeKeyMonitor {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/GuidedActionEditText.java"
+ line="31"
+ column="43"/>
+ </issue>
+
+ <issue
+ id="AppCompatCustomView"
+ message="This custom view should extend `android.support.v7.widget.AppCompatImageView` instead"
+ errorLine1="public class PreferenceImageView extends ImageView {"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/android/support/v7/internal/widget/PreferenceImageView.java"
+ line="33"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="AppCompatCustomView"
+ message="This custom view should extend `android.support.v7.widget.AppCompatTextView` instead"
+ errorLine1="class ResizingTextView extends TextView {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/ResizingTextView.java"
+ line="28"
+ column="32"/>
+ </issue>
+
+ <issue
+ id="AppCompatCustomView"
+ message="This custom view should extend `android.support.v7.widget.AppCompatTextView` instead"
+ errorLine1="public final class RowHeaderView extends TextView {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/RowHeaderView.java"
+ line="24"
+ column="42"/>
+ </issue>
+
+ <issue
+ id="AppCompatCustomView"
+ message="This custom view should extend `android.support.v7.widget.AppCompatEditText` instead"
+ errorLine1="class StreamingTextView extends EditText {"
+ errorLine2=" ~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/StreamingTextView.java"
+ line="43"
+ column="33"/>
+ </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 & 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="Orientation"
+ message="No orientation specified, and the default is horizontal. This is a common source of bugs when children are added dynamically."
+ errorLine1=" <LinearLayout"
+ errorLine2=" ^">
+ <location
+ file="res/layout/lb_row_media_item.xml"
+ line="63"
+ 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: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
+ errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/app/BrowseFragment.java"
+ line="1029"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
+ errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/app/BrowseSupportFragment.java"
+ line="1032"
+ column="71"/>
+ </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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.VISIBLE, View.INVISIBLE, View.GONE"
+ errorLine1=" v.setVisibility(mChildVisibility);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/GridLayoutManager.java"
+ line="1566"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.VISIBLE, View.INVISIBLE, View.GONE"
+ errorLine1=" getChildAt(i).setVisibility(mChildVisibility);"
+ errorLine2=" ~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/GridLayoutManager.java"
+ line="3468"
+ column="45"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
+ errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(view) == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/HorizontalHoverCardSwitcher.java"
+ line="50"
+ column="64"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
+ errorLine1=" == View.LAYOUT_DIRECTION_RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v17/leanback/widget/TitleHelper.java"
+ line="49"
+ column="24"/>
+ </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>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.LAYOUT_DIRECTION_LTR, View.LAYOUT_DIRECTION_RTL"
+ errorLine1=" return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
+ line="821"
+ column="64"/>
+ </issue>
+
+ <issue
+ id="RtlCompat"
+ message="Inconsistent alignment specification between `textAlignment` and `gravity` attributes: was `center_vertical`, expected `start`"
+ errorLine1=" android:textAlignment="viewStart" />"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="res/layout/abc_popup_menu_header_item_layout.xml"
+ line="33"
+ column="36"/>
+ <location
+ file="res/layout/abc_popup_menu_header_item_layout.xml"
+ line="29"
+ column="37"/>
+ </issue>
+
+ <issue
+ id="RtlCompat"
+ message="Inconsistent alignment specification between `textAlignment` and `gravity` attributes: was `center_vertical|end`, expected `start`"
+ errorLine1=" android:textAlignment="viewStart""
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="res/layout/lb_search_bar.xml"
+ line="70"
+ column="44"/>
+ <location
+ file="res/layout/lb_search_bar.xml"
+ line="57"
+ column="45"/>
+ </issue>
+
+</issues>
diff --git a/v4/lint-baseline.xml b/v4/lint-baseline.xml
new file mode 100644
index 0000000..af4f6fd
--- /dev/null
+++ b/v4/lint-baseline.xml
@@ -0,0 +1,202 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 25 (FragmentStatePagerAdapter)"
+ errorLine1=" if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ column="19"/>
+ </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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/v7/appcompat/lint-baseline.xml b/v7/appcompat/lint-baseline.xml
new file mode 100644
index 0000000..a024cec
--- /dev/null
+++ b/v7/appcompat/lint-baseline.xml
@@ -0,0 +1,448 @@
+<?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=" <ImageView android:id="@+id/image""
+ 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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
+ errorLine1=" Log.w(TAG, "Couldn't set home-as-up indicator via JB-MR2 API", 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, "Couldn't set home-as-up indicator");"
+ 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, "Couldn't set content description via JB-MR2 API", 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, "[loadDrawableFromDelegates] Skipping drawable: ""
+ 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, "[loadDrawableFromDelegates] Returning cached drawable: " +"
+ 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, "[loadDrawableFromDelegates] Saved drawable to cache: " +"
+ 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, "Exception while inflating drawable", 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, "[tintDrawableUsingColorFilter] Tinted ""
+ 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, "Mutated drawable is not the same instance as the input.");"
+ 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, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ column="19"/>
+ </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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </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>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.LAYOUT_DIRECTION_LTR, View.LAYOUT_DIRECTION_RTL"
+ errorLine1=" return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
+ line="821"
+ column="64"/>
+ </issue>
+
+</issues>
diff --git a/v7/cardview/lint-baseline.xml b/v7/cardview/lint-baseline.xml
new file mode 100644
index 0000000..172bbf6
--- /dev/null
+++ b/v7/cardview/lint-baseline.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+</issues>
diff --git a/v7/gridlayout/lint-baseline.xml b/v7/gridlayout/lint-baseline.xml
new file mode 100644
index 0000000..92033ee
--- /dev/null
+++ b/v7/gridlayout/lint-baseline.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/v7/mediarouter/lint-baseline.xml b/v7/mediarouter/lint-baseline.xml
new file mode 100644
index 0000000..070774c
--- /dev/null
+++ b/v7/mediarouter/lint-baseline.xml
@@ -0,0 +1,646 @@
+<?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.jumpDrawablesToCurrentState`"
+ errorLine1=" public void jumpDrawablesToCurrentState() {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/v7/app/MediaRouteButton.java"
+ line="346"
+ column="17"/>
+ </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=" <ImageView android:id="@+id/image""
+ 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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
+ errorLine1=" Log.w(TAG, "Couldn't set home-as-up indicator via JB-MR2 API", 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, "Couldn't set home-as-up indicator");"
+ 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, "Couldn't set content description via JB-MR2 API", 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, "[loadDrawableFromDelegates] Skipping drawable: ""
+ 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, "[loadDrawableFromDelegates] Returning cached drawable: " +"
+ 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, "[loadDrawableFromDelegates] Saved drawable to cache: " +"
+ 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, "Exception while inflating drawable", 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, "[tintDrawableUsingColorFilter] Tinted ""
+ 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, "Mutated drawable is not the same instance as the input.");"
+ 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, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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 24 (MediaRouteActionProvider)"
+ errorLine1=" Log.e(TAG, "onCreateActionView: this ActionProvider is already associated " +"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v7/app/MediaRouteActionProvider.java"
+ line="248"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 28 (RoundedBitmapDrawableFactory)"
+ errorLine1=" Log.w(TAG, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ 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 MediaRouteExpandCollapseButton extends ImageButton {"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/android/support/v7/app/MediaRouteExpandCollapseButton.java"
+ line="33"
+ column="46"/>
+ </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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </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>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.LAYOUT_DIRECTION_LTR, View.LAYOUT_DIRECTION_RTL"
+ errorLine1=" return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
+ line="821"
+ column="64"/>
+ </issue>
+
+</issues>
diff --git a/v7/palette/lint-baseline.xml b/v7/palette/lint-baseline.xml
new file mode 100644
index 0000000..286a168
--- /dev/null
+++ b/v7/palette/lint-baseline.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 28 (RoundedBitmapDrawableFactory)"
+ errorLine1=" Log.w(TAG, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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 24 (WakefulBroadcastReceiver)"
+ errorLine1=" Log.w("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ column="19"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/v7/preference/lint-baseline.xml b/v7/preference/lint-baseline.xml
new file mode 100644
index 0000000..616e009
--- /dev/null
+++ b/v7/preference/lint-baseline.xml
@@ -0,0 +1,760 @@
+<?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=" <ImageView android:id="@+id/image""
+ 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="0dp""
+ 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="0dp""
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="res/layout-v11/preference_dropdown.xml"
+ line="30"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
+ errorLine1=" Log.w(TAG, "Couldn't set home-as-up indicator via JB-MR2 API", 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, "Couldn't set home-as-up indicator");"
+ 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, "Couldn't set content description via JB-MR2 API", 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, "[loadDrawableFromDelegates] Skipping drawable: ""
+ 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, "[loadDrawableFromDelegates] Returning cached drawable: " +"
+ 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, "[loadDrawableFromDelegates] Saved drawable to cache: " +"
+ 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, "Exception while inflating drawable", 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, "[tintDrawableUsingColorFilter] Tinted ""
+ 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, "Mutated drawable is not the same instance as the input.");"
+ 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, "Adding item #" + position + ": f=" + 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, "Removing item #" + position + ": f=" + 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, "Bad fragment at key " + 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, "RoundedBitmapDrawable cannot decode " + 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, "RoundedBitmapDrawable cannot decode " + 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, "found saved state: " + 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, "Deciding anchor info from fresh state");"
+ 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, "invalid saved state class");"
+ 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, "saved state:\n" + 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, "FILLING targetLine: " + targetLine + ",""
+ 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, "assigned " + currentSpan.mIndex + " for " + 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, "using " + spanIndex + " for pos " + 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, "asked " + dt + " scrolled" + 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, "Unknown focus request:" + 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("WakefulBroadcastReceiver", "No active wake lock id #" + id);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/content/WakefulBroadcastReceiver.java"
+ line="141"
+ 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.AppCompatImageView` instead"
+ errorLine1="public class PreferenceImageView extends ImageView {"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/android/support/v7/internal/widget/PreferenceImageView.java"
+ line="33"
+ column="42"/>
+ </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 & 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="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </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>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one of: View.LAYOUT_DIRECTION_LTR, View.LAYOUT_DIRECTION_RTL"
+ errorLine1=" return isAutoMirrored() && getLayoutDirection() == LayoutDirection.RTL;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/graphics/drawable/VectorDrawableCompat.java"
+ line="821"
+ column="64"/>
+ </issue>
+
+</issues>
diff --git a/v7/recyclerview/lint-baseline.xml b/v7/recyclerview/lint-baseline.xml
new file mode 100644
index 0000000..630a8db
--- /dev/null
+++ b/v7/recyclerview/lint-baseline.xml
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
+ errorLine1=" Log.d(TAG, "found saved state: " + 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, "Deciding anchor info from fresh state");"
+ 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, "invalid saved state class");"
+ 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, "saved state:\n" + 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, "FILLING targetLine: " + targetLine + ",""
+ 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, "assigned " + currentSpan.mIndex + " for " + 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, "using " + spanIndex + " for pos " + 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, "asked " + dt + " scrolled" + 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, "Unknown focus request:" + focusDirection);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
+ line="2385"
+ column="27"/>
+ </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 & 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: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END"
+ errorLine1=" setDrawerLockMode(lockMode, gravity);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>
diff --git a/wear/lint-baseline.xml b/wear/lint-baseline.xml
new file mode 100644
index 0000000..21a93bd
--- /dev/null
+++ b/wear/lint-baseline.xml
@@ -0,0 +1,254 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<issues format="4" by="lint 2.4.0-alpha6">
+
+ <issue
+ id="DuplicateIds"
+ message="Duplicate id `@+id/off`, already defined earlier in this layout"
+ errorLine1=" android:id="@+id/off""
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="res/drawable-v21/ws_switch_thumb_material_anim.xml"
+ line="27"
+ column="9"/>
+ <location
+ file="res/drawable-v21/ws_switch_thumb_material_anim.xml"
+ line="19"
+ column="9"/>
+ </issue>
+
+ <issue
+ id="ResourceAsColor"
+ message="Should pass resolved color instead of resource id here: `getResources().getColor(android.R.color.darker_gray)`"
+ errorLine1=" mCircleColor = ColorStateList.valueOf(android.R.color.darker_gray);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/android/support/wear/widget/CircledImageView.java"
+ line="148"
+ column="51"/>
+ </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="LongLogTag"
+ message="The logging tag can be at most 23 characters, was 26 (StaggeredGridLayoutManager)"
+ errorLine1=" Log.d(TAG, "found saved state: " + 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, "Deciding anchor info from fresh state");"
+ 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, "invalid saved state class");"
+ 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, "saved state:\n" + 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, "FILLING targetLine: " + targetLine + ",""
+ 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, "assigned " + currentSpan.mIndex + " for " + 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, "using " + spanIndex + " for pos " + 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, "asked " + dt + " scrolled" + 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, "Unknown focus request:" + focusDirection);"
+ errorLine2=" ~~~">
+ <location
+ file="src/android/support/v7/widget/StaggeredGridLayoutManager.java"
+ line="2385"
+ column="27"/>
+ </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 & 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: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END"
+ errorLine1=" setDrawerLockMode(lockMode, gravity);"
+ errorLine2=" ~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="680"
+ 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="753"
+ column="34"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Flag not allowed here"
+ errorLine1=" getDrawerViewAbsoluteGravity(child) & Gravity.HORIZONTAL_GRAVITY_MASK;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/widget/DrawerLayout.java"
+ line="1086"
+ column="25"/>
+ </issue>
+
+ <issue
+ id="WrongConstant"
+ message="Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES"
+ errorLine1=" new Intent().setAction(ACTION_BIND_SIDE_CHANNEL), PackageManager.GET_SERVICES);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="java/android/support/v4/app/NotificationManagerCompat.java"
+ line="413"
+ column="71"/>
+ </issue>
+
+</issues>