зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset a9f445169eca (bug 1030738)
This commit is contained in:
Родитель
9e45624647
Коммит
4ffdb7481a
|
@ -122,9 +122,7 @@ public class GeckoPreferenceFragment extends PreferenceFragment {
|
|||
|
||||
if (Build.VERSION.SDK_INT >= 14) {
|
||||
final ActionBar actionBar = activity.getActionBar();
|
||||
if (actionBar != null) {
|
||||
actionBar.setTitle(newTitle);
|
||||
}
|
||||
actionBar.setTitle(newTitle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -140,9 +140,7 @@ OnSharedPreferenceChangeListener
|
|||
Log.v(LOGTAG, "Setting action bar title to " + newTitle);
|
||||
|
||||
final ActionBar actionBar = getActionBar();
|
||||
if (actionBar != null) {
|
||||
actionBar.setTitle(newTitle);
|
||||
}
|
||||
actionBar.setTitle(newTitle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -362,9 +360,7 @@ OnSharedPreferenceChangeListener
|
|||
|
||||
if (Build.VERSION.SDK_INT >= 14) {
|
||||
final ActionBar actionBar = getActionBar();
|
||||
if (actionBar != null) {
|
||||
actionBar.setHomeButtonEnabled(true);
|
||||
}
|
||||
actionBar.setHomeButtonEnabled(true);
|
||||
}
|
||||
|
||||
// N.B., if we ever need to redisplay the locale selection UI without
|
||||
|
|
Загрузка…
Ссылка в новой задаче