diff options
author | Qi Wang <wangqi@google.com> | 2016-05-16 19:09:10 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-05-16 19:09:10 +0000 |
commit | 7976e7a03b6380f72452c4750baafb1240ab5b5f (patch) | |
tree | a8f76f8dc7d70d07d91db40fbe25caf2151d51bd /src | |
parent | c0d8ee227b8673eadb4afe28d39adccd0166acab (diff) | |
parent | 0065720a974377d8139679528f2e3e5c076e91b7 (diff) |
Fix the bug that quick contact cannot be removed.
am: 0065720a97
* commit '0065720a974377d8139679528f2e3e5c076e91b7':
Fix the bug that quick contact cannot be removed.
Change-Id: I6eb457f4e634254e05a582d5b88a80885c4005b6
Diffstat (limited to 'src')
-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(); } |