Loading packages/SystemUI/src/com/android/systemui/display/ui/view/ExternalDisplayConnectionDialogDelegate.kt +7 −6 Original line number Diff line number Diff line Loading @@ -75,8 +75,13 @@ constructor( rememberChoiceCheckbox = dialog.requireViewById<CheckBox>(R.id.save_connection_preference).apply { if (isInKioskMode) { visibility = View.GONE } else { visibility = View.VISIBLE setOnCheckedChangeListener(rememberChoiceCheckBoxListener) } } desktopButton = dialog.requireViewById<Button>(R.id.start_desktop_mode).apply { Loading Loading @@ -111,11 +116,7 @@ constructor( bottomSheet = dialog.requireViewById(R.id.cd_bottom_sheet) dialog.setOnDismissListener { if (!optionSelected) { onCancelClickListener.onClick(null) } } dialog.setOnDismissListener { if (!optionSelected) onCancelClickListener.onClick(null) } setupInsets() } Loading Loading
packages/SystemUI/src/com/android/systemui/display/ui/view/ExternalDisplayConnectionDialogDelegate.kt +7 −6 Original line number Diff line number Diff line Loading @@ -75,8 +75,13 @@ constructor( rememberChoiceCheckbox = dialog.requireViewById<CheckBox>(R.id.save_connection_preference).apply { if (isInKioskMode) { visibility = View.GONE } else { visibility = View.VISIBLE setOnCheckedChangeListener(rememberChoiceCheckBoxListener) } } desktopButton = dialog.requireViewById<Button>(R.id.start_desktop_mode).apply { Loading Loading @@ -111,11 +116,7 @@ constructor( bottomSheet = dialog.requireViewById(R.id.cd_bottom_sheet) dialog.setOnDismissListener { if (!optionSelected) { onCancelClickListener.onClick(null) } } dialog.setOnDismissListener { if (!optionSelected) onCancelClickListener.onClick(null) } setupInsets() } Loading