|
|
|
|
@ -100,6 +100,7 @@ public class HdmiSettings extends SettingsPreferenceFragment
|
|
|
|
|
private String main_switch_node = SYS_NODE_HDMI_STATUS;
|
|
|
|
|
private String aux_switch_node = SYS_NODE_DP_STATUS;
|
|
|
|
|
|
|
|
|
|
private boolean mShowSystemRotation = true;
|
|
|
|
|
private ListPreference mSystemRotation;
|
|
|
|
|
private PreferenceCategory mAuxCategory;
|
|
|
|
|
private CheckBoxPreference mAuxScreenVH;
|
|
|
|
|
@ -329,9 +330,7 @@ public class HdmiSettings extends SettingsPreferenceFragment
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void init() {
|
|
|
|
|
//boolean showSystemRotation = mShowSettings != DISPLAY_SHOW_SETTINGS.ONLY_SHOW_AUX;
|
|
|
|
|
boolean showSystemRotation = false;
|
|
|
|
|
if (showSystemRotation) {
|
|
|
|
|
if (mShowSystemRotation) {
|
|
|
|
|
mSystemRotation = (ListPreference) findPreference(KEY_SYSTEM_ROTATION);
|
|
|
|
|
mSystemRotation.setOnPreferenceChangeListener(this);
|
|
|
|
|
try {
|
|
|
|
|
@ -357,7 +356,8 @@ public class HdmiSettings extends SettingsPreferenceFragment
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
removePreference(KEY_SYSTEM_ROTATION);
|
|
|
|
|
}//这边
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int displayNumber = DrmDisplaySetting.getDisplayNumber();
|
|
|
|
|
Log.v(TAG, "displayNumber=" + displayNumber);
|
|
|
|
|
String[] connectorInfos = DrmDisplaySetting.getConnectorInfo();
|
|
|
|
|
@ -366,6 +366,7 @@ public class HdmiSettings extends SettingsPreferenceFragment
|
|
|
|
|
Log.v(TAG, i + " connectorInfo====" + connectorInfos[i]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mDisplayInfoList.clear();
|
|
|
|
|
for (int i = 0; i < displayNumber; i++) {
|
|
|
|
|
String typeName = "";
|
|
|
|
|
|