am fb4cc403: Check tablet mode through resources
# Via Vikram Aggarwal * commit 'fb4cc403514e4d98e63f86ed9d5fa2ac442073d0': Check tablet mode through resources
This commit is contained in:
commit
15056dedc5
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue