diff options
author | Qi Wang <wangqi@google.com> | 2016-05-16 19:11:35 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-05-16 19:11:35 +0000 |
commit | 775071cc0d03aa35cc5e34f504a052bf31b0627f (patch) | |
tree | b2176dbbb95817e7cf80a605ce3ce4048aa57317 /src/com/android/dialer | |
parent | e9b1b75e80ccbf38bd5cacec19a20a032f26ac03 (diff) | |
parent | 7976e7a03b6380f72452c4750baafb1240ab5b5f (diff) |
Fix the bug that quick contact cannot be removed. am: 0065720a97
am: 7976e7a03b
* commit '7976e7a03b6380f72452c4750baafb1240ab5b5f':
Fix the bug that quick contact cannot be removed.
Change-Id: I4d155124b660e68a2c768b5096b2c31090faf622
Diffstat (limited to 'src/com/android/dialer')
-rw-r--r-- | src/com/android/dialer/list/ListsFragment.java | 4 |
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(); } |