Bug 1323951 - Don't show the compact tabs setting on tablets. r=sebastian

preferences_general_tablet.xml actually only applies on tablets with enough room
for multiple panes, otherwise preferences_general.xml is used; so the fix here
is necessary to remove the pref on tablets not large enough for multiple
preferences panes.

MozReview-Commit-ID: Ff7VebVYV10

--HG--
extra : rebase_source : fda5012f3edd371de5c431e6c50258de4017f547
This commit is contained in:
Tom Klein 2016-12-16 15:12:16 -06:00
Родитель 689c8eff70
Коммит d611d76a94
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -884,6 +884,10 @@ public class GeckoPreferences
preferences.removePreference(pref);
i--;
continue;
} else if (PREFS_COMPACT_TABS.equals(key) && HardwareUtils.isTablet()) {
preferences.removePreference(pref);
i--;
continue;
}
// Some Preference UI elements are not actually preferences,