diff options
Diffstat (limited to 'src/com/android/dialer/DialtactsActivity.java')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 8445ff76d..9f7e47f05 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -346,10 +346,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O final OptionsPopupMenu optionsMenu = buildOptionsMenu(optionsMenuButton); optionsMenuButton.setOnTouchListener(optionsMenu.getDragToOpenListener()); - final TypedArray styledAttributes = getTheme().obtainStyledAttributes( - new int[] { android.R.attr.actionBarSize }); - mActionBarHeight = (int) styledAttributes.getDimension(0, 0); - styledAttributes.recycle(); + mActionBarHeight = getResources().getDimensionPixelSize(R.dimen.action_bar_height); // Add the favorites fragment, and the dialpad fragment, but only if savedInstanceState // is null. Otherwise the fragment manager takes care of recreating these fragments. |