Merge "Display back button on home settings." into tm-qpr-dev

This commit is contained in:
Lucas Silva
2023-01-13 19:06:27 +00:00
committed by Android (Google) Code Review

View File

@@ -93,7 +93,8 @@ public class SettingsActivity extends FragmentActivity
WindowCompat.setDecorFitsSystemWindows(getWindow(), false);
Intent intent = getIntent();
if (intent.hasExtra(EXTRA_FRAGMENT) || intent.hasExtra(EXTRA_FRAGMENT_ARGS)) {
if (intent.hasExtra(EXTRA_FRAGMENT) || intent.hasExtra(EXTRA_FRAGMENT_ARGS)
|| intent.hasExtra(EXTRA_FRAGMENT_ARG_KEY)) {
getActionBar().setDisplayHomeAsUpEnabled(true);
}