Loading libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/HandleMenu.kt +2 −1 Original line number Diff line number Diff line Loading @@ -664,6 +664,8 @@ class HandleMenu( } private fun bindMoreActionsPill(style: MenuStyle) { moreActionsPill.background.setTint(style.backgroundColor) arrayOf( screenshotBtn to SHOULD_SHOW_SCREENSHOT_BUTTON, newWindowBtn to shouldShowNewWindowButton, Loading @@ -674,7 +676,6 @@ class HandleMenu( val shouldShow = it.second button.apply { isGone = !shouldShow background.setTint(style.backgroundColor) setTextColor(style.textColor) compoundDrawableTintList = ColorStateList.valueOf(style.textColor) } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/HandleMenu.kt +2 −1 Original line number Diff line number Diff line Loading @@ -664,6 +664,8 @@ class HandleMenu( } private fun bindMoreActionsPill(style: MenuStyle) { moreActionsPill.background.setTint(style.backgroundColor) arrayOf( screenshotBtn to SHOULD_SHOW_SCREENSHOT_BUTTON, newWindowBtn to shouldShowNewWindowButton, Loading @@ -674,7 +676,6 @@ class HandleMenu( val shouldShow = it.second button.apply { isGone = !shouldShow background.setTint(style.backgroundColor) setTextColor(style.textColor) compoundDrawableTintList = ColorStateList.valueOf(style.textColor) } Loading