Loading packages/SystemUI/src/com/android/systemui/controls/ui/ControlsUiControllerImpl.kt +6 −2 Original line number Diff line number Diff line Loading @@ -546,8 +546,12 @@ class ControlsUiControllerImpl @Inject constructor ( RenderInfo.registerComponentIcon(it.componentName, it.icon) } var adapter = ItemAdapter(context, R.layout.controls_spinner_item).apply { addAll(items) val adapter = ItemAdapter(context, R.layout.controls_spinner_item).apply { add(selected) addAll(items .filter { it !== selected } .sortedBy { it.appName.toString() } ) } val iconSize = context.resources Loading Loading
packages/SystemUI/src/com/android/systemui/controls/ui/ControlsUiControllerImpl.kt +6 −2 Original line number Diff line number Diff line Loading @@ -546,8 +546,12 @@ class ControlsUiControllerImpl @Inject constructor ( RenderInfo.registerComponentIcon(it.componentName, it.icon) } var adapter = ItemAdapter(context, R.layout.controls_spinner_item).apply { addAll(items) val adapter = ItemAdapter(context, R.layout.controls_spinner_item).apply { add(selected) addAll(items .filter { it !== selected } .sortedBy { it.appName.toString() } ) } val iconSize = context.resources Loading