Start PrivateSpaceDeleteActivity in full screen on foldables
Screenrecording link: b/342563741#comment2 Bug: 342563741 Test: Manual Flag: android.multiuser.fix_large_display_private_space_settings Change-Id: I428ef4af12e736880313b06e832b58a46b23a08a
This commit is contained in:
@@ -50,6 +50,7 @@ import com.android.settings.homepage.SettingsHomepageActivity;
|
||||
import com.android.settings.overlay.FeatureFactory;
|
||||
import com.android.settings.password.ChooseLockPattern;
|
||||
import com.android.settings.privatespace.PrivateSpaceSetupActivity;
|
||||
import com.android.settings.privatespace.delete.PrivateSpaceDeleteActivity;
|
||||
import com.android.settings.remoteauth.RemoteAuthActivity;
|
||||
import com.android.settings.remoteauth.RemoteAuthActivityInternal;
|
||||
|
||||
@@ -263,6 +264,9 @@ public class ActivityEmbeddingRulesController {
|
||||
addActivityFilter(activityFilters, RemoteAuthActivityInternal.class);
|
||||
addActivityFilter(activityFilters, ChooseLockPattern.class);
|
||||
addActivityFilter(activityFilters, PrivateSpaceSetupActivity.class);
|
||||
if (android.multiuser.Flags.fixLargeDisplayPrivateSpaceSettings()) {
|
||||
addActivityFilter(activityFilters, PrivateSpaceDeleteActivity.class);
|
||||
}
|
||||
String action = mContext.getString(R.string.config_avatar_picker_action);
|
||||
addActivityFilter(activityFilters, new Intent(action));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user