Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3bfd664 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Do not close PW in BlurUtils dump

Kotlin use will close the Closeable after finishing the block. This
would close the underlying PW, preventing dumping the rest in SystemUI.

Test: adb shell dumpsys activity service
com.android.systemui/.SystemUIService dependency
Fixes: 149947072

Change-Id: I52d62a47589384a17616fdbb4c0f7e897dedc8ee
parent 8887c6da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ open class BlurUtils @Inject constructor(
    }

    override fun dump(fd: FileDescriptor, pw: PrintWriter, args: Array<out String>) {
        IndentingPrintWriter(pw, "  ").use {
        IndentingPrintWriter(pw, "  ").let {
            it.println("BlurUtils:")
            it.increaseIndent()
            it.println("minBlurRadius: $minBlurRadius")