Fix lint errors for android manifests.

This is needed to roll android_tools which comes with udpated lint.
See https://chromium-review.googlesource.com/c/chromium/src/+/1331011

Bug: chromium:900912
Change-Id: Ib0a0fb8fdd14269ff84fa99b5c63878f2b3d9fb6
Reviewed-on: https://webrtc-review.googlesource.com/c/110861
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Yves Gerey <yvesg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25632}
This commit is contained in:
Yves Gerey 2018-11-14 09:47:46 +01:00 committed by Commit Bot
parent 6ef89e7a36
commit fb6fd4b005
2 changed files with 5 additions and 1 deletions

View file

@ -18,7 +18,8 @@
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT" /> <uses-permission tools:ignore="ProtectedPermissions"
android:name="android.permission.CAPTURE_VIDEO_OUTPUT" />
<!-- This is a test application that should always be debuggable. --> <!-- This is a test application that should always be debuggable. -->
<application android:label="@string/app_name" <application android:label="@string/app_name"

View file

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_margin="16dp" android:layout_margin="16dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -21,7 +22,9 @@
android:gravity="center" android:gravity="center"
android:layout_marginBottom="8dp"> android:layout_marginBottom="8dp">
<!-- TODO(crbug.com/900912): Fix and remove lint ignore -->
<EditText <EditText
tools:ignore="LabelFor"
android:id="@+id/room_edittext" android:id="@+id/room_edittext"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"