Hide v1 conn. display illust. and Use toggles
In the rotation/resolution preference UI, stop showing UI parts which are only applicable in the original connected display UI. We will still show them if the topology pane is disabled. Flag: com.android.settings.flags.display_topology_pane_in_display_list Bug: b/366056922 Test: manual Change-Id: I2897576d5e7eb69a43bf17b967e2ae5f0321998c
This commit is contained in:
@@ -419,7 +419,9 @@ public class ExternalDisplayPreferenceFragment extends SettingsPreferenceFragmen
|
||||
return;
|
||||
}
|
||||
final var displayRotation = getDisplayRotation(display.getDisplayId());
|
||||
screen.addPreference(updateIllustrationImage(context, displayRotation));
|
||||
if (!isTopologyPaneEnabled(mInjector)) {
|
||||
screen.addPreference(updateIllustrationImage(context, displayRotation));
|
||||
}
|
||||
screen.addPreference(updateResolutionPreference(context, display));
|
||||
screen.addPreference(updateRotationPreference(context, display, displayRotation));
|
||||
if (isResolutionSettingEnabled(mInjector)) {
|
||||
|
||||
Reference in New Issue
Block a user