diff options
author | Andrew Lee <anwlee@google.com> | 2015-10-21 06:10:27 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-10-21 06:10:27 +0000 |
commit | aae1fcffc0912257a7b5c1aff569ebb8b4d079cf (patch) | |
tree | c40e409462f861b08bbc50486586546d4711aca1 /src | |
parent | aca29b97a8b02fb4d6d27c5421656e86513c843d (diff) | |
parent | 4f52db88d380e1d18926928059d7b0cd73b2a11e (diff) |
Fix broken reference.
am: 4f52db88d3
* commit '4f52db88d380e1d18926928059d7b0cd73b2a11e':
Fix broken reference.
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/filterednumber/BlockedNumberFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/filterednumber/BlockedNumberFragment.java b/src/com/android/dialer/filterednumber/BlockedNumberFragment.java index a89ca84c6..223f2ced9 100644 --- a/src/com/android/dialer/filterednumber/BlockedNumberFragment.java +++ b/src/com/android/dialer/filterednumber/BlockedNumberFragment.java @@ -168,6 +168,7 @@ public class BlockedNumberFragment extends ListFragment @Override public void onVoicemailStatusFetched(Cursor cursor) { + final View hideSetting = getActivity().findViewById(R.id.hide_blocked_calls_setting); if (cursor == null) { hideSetting.setVisibility(View.GONE); return; @@ -175,7 +176,6 @@ public class BlockedNumberFragment extends ListFragment final boolean hasVisualVoicemailSource = mVoicemailStatusHelper.getNumberActivityVoicemailSources(cursor) > 0; - View hideSetting = getActivity().findViewById(R.id.hide_blocked_calls_setting); if (hasVisualVoicemailSource) { hideSetting.setVisibility(View.VISIBLE); } else { |