summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-07-21 12:29:34 -0700
committerYorke Lee <yorkelee@google.com>2015-07-21 12:29:34 -0700
commitcc6e33027f5be7e55ab5f7167aafedef8492b7ea (patch)
tree527ba633af92c0891c58d0fcc02867e403143c1f /src
parent7e1a68556c419c4b9b1eda9247e80262615fa809 (diff)
Make permission request view intercept clicks
Bug: 22631821 Change-Id: I3f2ef3f0e1d16ec406e1bed7f6b4c980e17b058f
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/widget/EmptyContentView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/dialer/widget/EmptyContentView.java b/src/com/android/dialer/widget/EmptyContentView.java
index 2f5e0d9d7..f248967de 100644
--- a/src/com/android/dialer/widget/EmptyContentView.java
+++ b/src/com/android/dialer/widget/EmptyContentView.java
@@ -61,6 +61,8 @@ public class EmptyContentView extends LinearLayout implements View.OnClickListen
final LayoutInflater inflater = (LayoutInflater) getContext().getSystemService(
Context.LAYOUT_INFLATER_SERVICE);
inflater.inflate(R.layout.empty_content_view, this);
+ // Don't let touches fall through the empty view.
+ setClickable(true);
mImageView = (ImageView) findViewById(R.id.emptyListViewImage);
mDescriptionView = (TextView) findViewById(R.id.emptyListViewMessage);
mActionView = (TextView) findViewById(R.id.emptyListViewAction);