diff options
| author | Stephen Bird <sbird@cyngn.com> | 2016-03-21 12:10:06 -0700 |
|---|---|---|
| committer | Stephen Bird <sbird@cyngn.com> | 2016-04-08 10:21:13 -0700 |
| commit | 56d8996b1c68de3968e9fda2961a47c818537192 (patch) | |
| tree | 650693b515cae242eee1c32068dafd918705e514 /src/com/android | |
| parent | baf30ceeb24dd7b624ca6b8d01b4f04682b92a3d (diff) | |
| download | android_packages_apps_Dialer-56d8996b1c68de3968e9fda2961a47c818537192.tar.gz android_packages_apps_Dialer-56d8996b1c68de3968e9fda2961a47c818537192.tar.bz2 android_packages_apps_Dialer-56d8996b1c68de3968e9fda2961a47c818537192.zip | |
Remove FAB hiding and showing
In AOSP the fab hides and shows at certain times based
on what the user is doing (typing in search field or
scrolling through results). There's a bug where sometimes
the FAB does not come back.
Just show the FAB all the time as our UI changes allow
the fab to be visible when the keyboard is.
Ticket: CD-442
Change-Id: I1939e213deaad0ea582e1dbe4b495fb9b710447e
Diffstat (limited to 'src/com/android')
| -rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 283466e74..2e08dc6cf 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -1178,8 +1178,6 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O mInDialpadSearch = smartDialSearch; mInRegularSearch = !smartDialSearch; - mFloatingActionButtonController.scaleOut(); - SearchFragment fragment = (SearchFragment) getFragmentManager().findFragmentByTag(tag); if (animate) { transaction.setCustomAnimations(android.R.animator.fade_in, 0); @@ -1191,15 +1189,6 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O fragment = new SmartDialSearchFragment(); } else { fragment = new RegularSearchFragment(); - fragment.setOnTouchListener(new View.OnTouchListener() { - @Override - public boolean onTouch(View v, MotionEvent event) { - // Show the FAB when the user touches the lists fragment and the soft - // keyboard is hidden. - showFabInSearchUi(); - return false; - } - }); } transaction.add(R.id.dialtacts_frame, fragment, tag); } else { |
