Commit 27d7615e authored by Shakti Sahu's avatar Shakti Sahu Committed by Commit Bot

Download Home : Fixed layout inflate crash

This CL fixes a crash for API 19 when inflating layout for in-progress items.
We remove the selectableItemBackground attribute from the XML which fixes
the issue. However, with this change, the pause/resume button doesn't
provide user feedback on tap. We most likely have to implement our
own selectable item background for this.

Bug: 896808
Change-Id: I0156802c862fd11357d6a5179c42e8977896b847
Reviewed-on: https://chromium-review.googlesource.com/c/1294728Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Commit-Queue: Shakti Sahu <shaktisahu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602021}
parent ce4487b7
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
found in the LICENSE file. --> found in the LICENSE file. -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="?attr/selectableItemBackground" />
<item> <item>
<shape <shape
android:shape="oval"> android:shape="oval">
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
found in the LICENSE file. --> found in the LICENSE file. -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="?attr/selectableItemBackground" />
<item> <item>
<shape <shape
android:shape="oval"> android:shape="oval">
......
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