Commit 4aff9633 authored by Himanshu Jaju's avatar Himanshu Jaju Committed by Commit Bot

Crash fix for zero state image.

Vector drawable is not supported for api < 21. srcCompat should fix
this error.

Bug: 1003194
Change-Id: Ib2bb4d0078b60552599969828ba43a2660af337c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1800744Reviewed-by: default avatarMichael van Ouwerkerk <mvanouwerkerk@chromium.org>
Commit-Queue: Himanshu Jaju <himanshujaju@chromium.org>
Cr-Commit-Position: refs/heads/master@{#695985}
parent ed2e5ba7
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
found in the LICENSE file. --> found in the LICENSE file. -->
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
...@@ -55,7 +56,7 @@ ...@@ -55,7 +56,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width ="match_parent" android:layout_width ="match_parent"
android:contentDescription="@string/sharing_no_devices_available_text" android:contentDescription="@string/sharing_no_devices_available_text"
android:src="@drawable/shared_clipboard_zero_state"/> app:srcCompat="@drawable/shared_clipboard_zero_state"/>
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment