diff --git a/src/com/android/email/activity/setup/GeneralPreferences.java b/src/com/android/email/activity/setup/GeneralPreferences.java index df0d0d0ec..6869abd6a 100644 --- a/src/com/android/email/activity/setup/GeneralPreferences.java +++ b/src/com/android/email/activity/setup/GeneralPreferences.java @@ -74,7 +74,7 @@ public class GeneralPreferences extends EmailPreferenceFragment implements ps.removePreference(findPreference(PREFERENCE_KEY_TEXT_ZOOM)); // Disabling reply-all on tablets, as this setting is just for phones - if (Utils.useTabletUI(getActivity())) { + if (Utils.useTabletUI(getActivity().getResources())) { ps.removePreference(findPreference(PREFERNECE_REPLY_ALL)); } }