fix: SharedR on BubbleDismissViewExt.kt

This commit is contained in:
Pun Butrach committed 2026-01-10 20:48:16 +07:00
1 parent d89732512d
commit 38f2f69c4c
2 files changed
+5 -3

No files matched your search

@@ -18,6 +18,7 @@
package com.android.launcher3.taskbar.bubbles
import com.android.launcher3.R
import com.android.wm.shell.R as SharedR // WM and WMShared are "shared" or linked together.
import com.android.wm.shell.shared.bubbles.DismissView
/**
@@ -36,8 +37,8 @@ fun DismissView.setup() {
bottomMarginResId = R.dimen.bubblebar_dismiss_target_bottom_margin,
floatingGradientHeightResId = R.dimen.bubblebar_dismiss_floating_gradient_height,
floatingGradientColorResId = android.R.color.system_neutral1_900,
backgroundResId = R.drawable.floating_dismiss_background,
iconResId = R.drawable.floating_dismiss_ic_close,
backgroundResId = SharedR.drawable.floating_dismiss_background,
iconResId = SharedR.drawable.floating_dismiss_ic_close,
applyMarginOverNavBarInset = false,
)
)
@@ -34,7 +34,8 @@ import android.view.View.SCALE_Y
import android.view.ViewGroup.MarginLayoutParams
import android.widget.LinearLayout
import android.window.TaskSnapshot
import com.android.wm.shell.shared.R
import com.android.wm.shell.R
//import com.android.wm.shell.shared.R
/**
* View for the All Windows menu option, used by both Desktop Windowing and Taskbar.