diff options
author | Yorke Lee <yorkelee@google.com> | 2015-07-21 22:25:23 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-07-21 22:25:23 +0000 |
commit | 7d799895391f3d51a58080a04810b9ea630d4350 (patch) | |
tree | 46dc1d482f8cff5d8fbb5b7d8040c265483d095d /src | |
parent | 0bb059d61f1e6648dee6f0a4cf8f02a6a7c26ce7 (diff) | |
parent | cc6e33027f5be7e55ab5f7167aafedef8492b7ea (diff) |
Merge "Make permission request view intercept clicks" into mnc-dev
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/widget/EmptyContentView.java | 2 |
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); |