summaryrefslogtreecommitdiff
path: root/src/com/android/dialer
diff options
context:
space:
mode:
authorQi Wang <wangqi@google.com>2016-05-16 19:14:38 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-05-16 19:14:38 +0000
commit7f489a0cc2ec42e831747d48d4e5a02f5cf5fc7c (patch)
tree80d4a2b6837f2dff4530da235e9fbe63e3c9e0a8 /src/com/android/dialer
parent266551c77509d3292c791d84358b83afc640ee2b (diff)
parent775071cc0d03aa35cc5e34f504a052bf31b0627f (diff)
Fix the bug that quick contact cannot be removed. am: 0065720a97 am: 7976e7a03b
am: 775071cc0d * commit '775071cc0d03aa35cc5e34f504a052bf31b0627f': Fix the bug that quick contact cannot be removed. Change-Id: I20891ddc85bbcabaf1ef64628578ad38cc2d0351
Diffstat (limited to 'src/com/android/dialer')
-rw-r--r--src/com/android/dialer/list/ListsFragment.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/dialer/list/ListsFragment.java b/src/com/android/dialer/list/ListsFragment.java
index ceed61274..52bf3cbb5 100644
--- a/src/com/android/dialer/list/ListsFragment.java
+++ b/src/com/android/dialer/list/ListsFragment.java
@@ -81,6 +81,7 @@ public class ListsFragment extends Fragment
private ViewPagerTabs mViewPagerTabs;
private ViewPagerAdapter mViewPagerAdapter;
private RemoveView mRemoveView;
+ private View mRemoveViewContent;
private SpeedDialFragment mSpeedDialFragment;
private CallLogFragment mHistoryFragment;
@@ -251,6 +252,7 @@ public class ListsFragment extends Fragment
addOnPageChangeListener(mViewPagerTabs);
mRemoveView = (RemoveView) parentView.findViewById(R.id.remove_view);
+ mRemoveViewContent = parentView.findViewById(R.id.remove_view_content);
Trace.endSection();
Trace.endSection();
@@ -422,7 +424,7 @@ public class ListsFragment extends Fragment
public void showRemoveView(boolean show) {
- mRemoveView.setVisibility(show ? View.VISIBLE : View.GONE);
+ mRemoveViewContent.setVisibility(show ? View.VISIBLE : View.GONE);
mRemoveView.setAlpha(show ? 0 : 1);
mRemoveView.animate().alpha(show ? 1 : 0).start();
}