Make expanded system shortcuts clickable

The textview on top was consuming the clicks, so we set it to
not be focusable (clicks are handled by the parent).

This regression was caused by a TextView bug introduced in
ag/2247666, which set clickable=true if focusable=true.

Bug: 38385679
Change-Id: I0a946073919dabcd19b47cd7df2a1fcac6946cd5
This commit is contained in:
Tony Wickham
2017-05-17 17:26:10 -07:00
parent 0270039b98
commit cd58d0d4e5
+2 -1
View File
@@ -32,7 +32,8 @@
android:textColor="?android:attr/textColorPrimary"
android:fontFamily="sans-serif"
launcher:iconDisplay="shortcut_popup"
launcher:layoutHorizontal="true" />
launcher:layoutHorizontal="true"
android:focusable="false" />
<View
android:id="@+id/icon"