am fb4cc403: Check tablet mode through resources

# Via Vikram Aggarwal
* commit 'fb4cc403514e4d98e63f86ed9d5fa2ac442073d0':
  Check tablet mode through resources
This commit is contained in:
Vikram Aggarwal 2013-01-28 18:10:31 -08:00 committed by Android Git Automerger
commit 15056dedc5
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}