Check tablet mode through resources
Change-Id: I1f29bce68a5736e00e38b5f0189c025bfbae433c
This commit is contained in:
parent
4b09765a2e
commit
fb4cc40351
@ -74,7 +74,7 @@ public class GeneralPreferences extends EmailPreferenceFragment implements
|
|||||||
ps.removePreference(findPreference(PREFERENCE_KEY_TEXT_ZOOM));
|
ps.removePreference(findPreference(PREFERENCE_KEY_TEXT_ZOOM));
|
||||||
|
|
||||||
// Disabling reply-all on tablets, as this setting is just for phones
|
// 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));
|
ps.removePreference(findPreference(PREFERNECE_REPLY_ALL));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user