diff options
author | Andrew Lee <anwlee@google.com> | 2015-10-26 17:57:50 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-10-28 14:22:13 -0700 |
commit | 6d13e7f7560169826a9cec38ec654d63d4b38873 (patch) | |
tree | a70a3fe55b3b2a3b816585dadcde0290d721cf0e /src/com/android/dialer/filterednumber/BlockedNumbersFragment.java | |
parent | 0cef51c2037e094c4d8e31565de78a5ef1cf4de9 (diff) |
Fix blocked numbers rotation jank.
+ Saved search term.
+ Fix padding/shadow jank between rotations.
+ Fix title disappearing for import on rotation.
Bug: 24910704
Change-Id: Ib683bd07ad629917ac429a5f33be54ecf781e33d
Diffstat (limited to 'src/com/android/dialer/filterednumber/BlockedNumbersFragment.java')
-rw-r--r-- | src/com/android/dialer/filterednumber/BlockedNumbersFragment.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java b/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java index 7788cbe1b..fa40e2609 100644 --- a/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java +++ b/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java @@ -109,7 +109,6 @@ public class BlockedNumbersFragment extends ListFragment ColorDrawable backgroundDrawable = new ColorDrawable(getActivity().getColor(R.color.dialer_theme_color)); actionBar.setBackgroundDrawable(backgroundDrawable); - actionBar.setElevation(getResources().getDimensionPixelSize(R.dimen.action_bar_elevation)); actionBar.setDisplayShowCustomEnabled(false); actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setDisplayShowHomeEnabled(true); @@ -138,8 +137,7 @@ public class BlockedNumbersFragment extends ListFragment @Override public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - View view = inflater.inflate(R.layout.blocked_number_fragment, container, false); - return view; + return inflater.inflate(R.layout.blocked_number_fragment, container, false); } @Override |