Loading packages/SystemUI/res/drawable/qs_footer_action_circle.xml +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ </item> <item> <shape android:shape="rectangle"> <solid android:color="?attr/offStateColor"/> <solid android:color="?attr/underSurfaceColor"/> <corners android:radius="@dimen/qs_footer_action_corner_radius"/> </shape> </item> Loading packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/FooterActionsViewModel.kt +12 −4 Original line number Diff line number Diff line Loading @@ -145,7 +145,11 @@ class FooterActionsViewModel( R.drawable.ic_settings, ContentDescription.Resource(R.string.accessibility_quick_settings_settings) ), iconTint = null, iconTint = Utils.getColorAttrDefaultColor( context, com.android.internal.R.attr.textColorPrimary, ), backgroundColor = R.attr.offStateColor, this::onSettingsButtonClicked, ) Loading @@ -162,9 +166,9 @@ class FooterActionsViewModel( iconTint = Utils.getColorAttrDefaultColor( context, com.android.internal.R.attr.textColorOnAccent, com.android.internal.R.attr.textColorPrimary, ), backgroundColor = com.android.internal.R.attr.colorAccent, backgroundColor = R.attr.offStateColor, this::onPowerButtonClicked, ) } else { Loading Loading @@ -263,7 +267,11 @@ class FooterActionsViewModel( userSwitcherContentDescription(status.currentUserName) ), ), iconTint = null, iconTint = Utils.getColorAttrDefaultColor( context, com.android.internal.R.attr.textColorPrimary, ), backgroundColor = R.attr.offStateColor, onClick = this::onUserSwitcherClicked, ) Loading Loading
packages/SystemUI/res/drawable/qs_footer_action_circle.xml +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ </item> <item> <shape android:shape="rectangle"> <solid android:color="?attr/offStateColor"/> <solid android:color="?attr/underSurfaceColor"/> <corners android:radius="@dimen/qs_footer_action_corner_radius"/> </shape> </item> Loading
packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/FooterActionsViewModel.kt +12 −4 Original line number Diff line number Diff line Loading @@ -145,7 +145,11 @@ class FooterActionsViewModel( R.drawable.ic_settings, ContentDescription.Resource(R.string.accessibility_quick_settings_settings) ), iconTint = null, iconTint = Utils.getColorAttrDefaultColor( context, com.android.internal.R.attr.textColorPrimary, ), backgroundColor = R.attr.offStateColor, this::onSettingsButtonClicked, ) Loading @@ -162,9 +166,9 @@ class FooterActionsViewModel( iconTint = Utils.getColorAttrDefaultColor( context, com.android.internal.R.attr.textColorOnAccent, com.android.internal.R.attr.textColorPrimary, ), backgroundColor = com.android.internal.R.attr.colorAccent, backgroundColor = R.attr.offStateColor, this::onPowerButtonClicked, ) } else { Loading Loading @@ -263,7 +267,11 @@ class FooterActionsViewModel( userSwitcherContentDescription(status.currentUserName) ), ), iconTint = null, iconTint = Utils.getColorAttrDefaultColor( context, com.android.internal.R.attr.textColorPrimary, ), backgroundColor = R.attr.offStateColor, onClick = this::onUserSwitcherClicked, ) Loading