| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="4" by="lint 3.0.0"> |
| |
| <issue |
| id="RecyclerView" |
| message="Do not treat position as fixed; only use immediately and call `holder.getAdapterPosition()` to look it up later" |
| errorLine1=" public void onBindViewHolder(ViewHolder holder, final int position) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/wear/app/MainDemoActivity.java" |
| line="100" |
| column="57"/> |
| </issue> |
| |
| <issue |
| id="WearStandaloneAppFlag" |
| message="Missing `<meta-data android:name="com.google.android.wearable.standalone" ../>` element" |
| errorLine1=" <application android:icon="@drawable/app_sample_code" android:label="SupportWearDemos"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="24" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="AllowBackup" |
| message="On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute `android:fullBackupContent` to specify an `@xml` resource which configures which files to backup. More info: https://developer.android.com/training/backup/autosyncapi.html" |
| errorLine1=" <application android:icon="@drawable/app_sample_code" android:label="SupportWearDemos"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="24" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="AllowBackup" |
| message="Should explicitly set `android:allowBackup` to `true` or `false` (it's `true` by default, and that can have some security implications for the application's data)" |
| errorLine1=" <application android:icon="@drawable/app_sample_code" android:label="SupportWearDemos"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="24" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="MergeRootFrame" |
| message="This `<FrameLayout>` can be replaced with a `<merge>` tag" |
| errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" |
| errorLine2="^"> |
| <location |
| file="src/main/res/layout/cpl_demo.xml" |
| line="18" |
| column="1"/> |
| </issue> |
| |
| <issue |
| id="MergeRootFrame" |
| message="This `<FrameLayout>` can be replaced with a `<merge>` tag" |
| errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" |
| errorLine2="^"> |
| <location |
| file="src/main/res/layout/rd_demo.xml" |
| line="18" |
| column="1"/> |
| </issue> |
| |
| <issue |
| id="IconLocation" |
| message="Found bitmap drawable `res/drawable/app_sample_code.png` in densityless folder"> |
| <location |
| file="src/main/res/drawable/app_sample_code.png"/> |
| </issue> |
| |
| <issue |
| id="GoogleAppIndexingWarning" |
| message="App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details." |
| errorLine1=" <application android:icon="@drawable/app_sample_code" android:label="SupportWearDemos"" |
| errorLine2=" ^"> |
| <location |
| file="src/main/AndroidManifest.xml" |
| line="24" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="ContentDescription" |
| message="Missing `contentDescription` attribute on image" |
| errorLine1=" <ImageView" |
| errorLine2=" ^"> |
| <location |
| file="src/main/res/layout/rd_demo.xml" |
| line="23" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" mStateTextView.setText("Ambient");" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/wear/app/AmbientModeDemo.java" |
| line="52" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" mStateTextView.setText("Interactive");" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/wear/app/AmbientModeDemo.java" |
| line="60" |
| column="36"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." |
| errorLine1=" holder.mView.setText("Holder at position " + position);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/wear/app/SimpleWearableRecyclerViewDemo.java" |
| line="66" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="SetTextI18n" |
| message="String literal in `setText` can not be translated. Use Android resources instead." |
| errorLine1=" holder.mView.setText("Holder at position " + position);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/android/support/wear/app/SimpleWearableRecyclerViewDemo.java" |
| line="66" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Item 1", should use `@string` resource" |
| errorLine1=" <item android:title="Item 1" android:id="@+id/item_1" android:icon="@android:drawable/ic_menu_add"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/action_drawer_menu.xml" |
| line="3" |
| column="11"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Item 2", should use `@string` resource" |
| errorLine1=" <item android:title="Item 2" android:id="@+id/item_2" android:icon="@android:drawable/ic_menu_agenda"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/action_drawer_menu.xml" |
| line="4" |
| column="11"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Item 3", should use `@string` resource" |
| errorLine1=" <item android:title="Item 3" android:id="@+id/item_3" android:icon="@android:drawable/ic_menu_call"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/action_drawer_menu.xml" |
| line="5" |
| column="11"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "Item 4", should use `@string` resource" |
| errorLine1=" <item android:title="Item 4" android:id="@+id/item_4" android:icon="@android:drawable/ic_menu_delete"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/menu/action_drawer_menu.xml" |
| line="6" |
| column="11"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "hello world!!", should use `@string` resource" |
| errorLine1=" android:text="hello world!!"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/ambient_demo.xml" |
| line="26" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "FrameLayout", should use `@string` resource" |
| errorLine1=" android:text="FrameLayout"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/wearable_drawers_frame_layout_demo.xml" |
| line="26" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="HardcodedText" |
| message="Hardcoded string "ScrollView Fragment", should use `@string` resource" |
| errorLine1=" android:text="ScrollView Fragment"" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/layout/wearable_drawers_scroll_view_demo.xml" |
| line="35" |
| column="13"/> |
| </issue> |
| |
| </issues> |