Bug 1013870 - Implement isValidFragment() in GeckoPreferences (r=liuche)

This commit is contained in:
Lucas Rocha 2014-05-21 15:55:54 +01:00
parent dc49049361
commit 698e358aeb

View File

@ -383,6 +383,10 @@ OnSharedPreferenceChangeListener
intent.putExtra(PreferenceActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS, fragmentArgs);
}
public boolean isValidFragment(String fragmentName) {
return GeckoPreferenceFragment.class.getName().equals(fragmentName);
}
@Override
public void onBuildHeaders(List<Header> target) {
if (onIsMultiPane()) {