Skip to content

Commit

Permalink
fixed : home doesn't appear when closing an app
Browse files Browse the repository at this point in the history
- closes : #5268
  • Loading branch information
MrSluffy committed Feb 19, 2025
1 parent 28d8249 commit cc25105
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class LawnchairFloatingSurfaceView @JvmOverloads constructor(

init {
mSurfaceView.setLayerType(LAYER_TYPE_HARDWARE, null)
mSurfaceView.setZOrderOnTop(false)
mSurfaceView.setZOrderOnTop(true)

mSurfaceView.holder.setFormat(PixelFormat.TRANSLUCENT)
mSurfaceView.holder.addCallback(this)
Expand Down Expand Up @@ -419,9 +419,7 @@ class LawnchairFloatingSurfaceView @JvmOverloads constructor(
launcher.dragLayer.addView(view)
anim.start()
view.getIcon()?.let {
launcher.showFullScreenOverlay(endView = it) {
view.mSurfaceView.setZOrderOnTop(true)
}
launcher.showFullScreenOverlay(endView = it) {}
}
}
}
Expand Down

0 comments on commit cc25105

Please sign in to comment.