Set 2-pane placeholder for all alias of SettingsHomepageActivity

SettingsHomepageActivity may be launched by different alias,
this change sets placeholder for all these alias to ensure
placeholder is present.

Bug: 199363383
Test: manual
      1. Click Settings icon button in quick setting panel.
      2. Launch Settings app deep link, then move it to background,
         and the launch Settings app.
Change-Id: I9ba6dbc5cfa2bac51bf53bb21f8983193ba053b6
This commit is contained in:
Arc Wang
2021-09-09 15:59:01 +08:00
parent 22ce392b91
commit 597784e455
2 changed files with 6 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ public class SettingsHomepageActivity extends FragmentActivity implements
public static final String EXTRA_IS_FROM_SETTINGS_HOMEPAGE = "is_from_settings_homepage";
// An alias class name of SettingsHomepageActivity.
private static final String ALIAS_DEEP_LINK = "com.android.settings.DeepLinkHomepageActivity";
public static final String ALIAS_DEEP_LINK = "com.android.settings.DeepLinkHomepageActivity";
private static final long HOMEPAGE_LOADING_TIMEOUT_MS = 300;