Fix (or suppress) lint warnings and make it fatal again in the build process. Additionally, warnings are treated as errors now. If there are warnings that are not applicable, add @SuppressLint or tools:ignore to suppress the warning, so code reviewers can be aware of the lint issue too. Test: ./gradlew lint Change-Id: I63c83ff1b95a0817dc2ac777adce0fa9f9ebd45a
35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright (C) 2015 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<item name="suw_preference_recycler_view" type="layout">@layout/suw_preference_recycler_view_header</item>
|
|
<item name="suw_preference_template" type="layout">@layout/suw_preference_template_header</item>
|
|
<item name="suw_recycler_template" type="layout">@layout/suw_recycler_template_header</item>
|
|
|
|
<item
|
|
name="suw_recycler_template_short"
|
|
type="layout"
|
|
tools:ignore="UnusedResources">@layout/suw_recycler_template_header_collapsed</item>
|
|
<!-- Ignore UnusedResources: can be used by clients -->
|
|
|
|
<item name="suw_glif_preference_template" type="layout">@layout/suw_glif_blank_template_compact</item>
|
|
<item name="suw_glif_recycler_template" type="layout">@layout/suw_glif_recycler_template_compact</item>
|
|
|
|
</resources>
|
|
|