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

Commit 3e5217a7 authored by Brad Hinegardner's avatar Brad Hinegardner Committed by Automerger Merge Worker
Browse files

Merge "Hide or show smartspace on proper thread when swiping between clocks"...

Merge "Hide or show smartspace on proper thread when swiping between clocks" into udc-dev am: b38bf2d7

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22821476



Change-Id: I55fe548304369c9405c9ed25c0cc07de4eb57a48
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 82ab81dd b38bf2d7
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -155,9 +155,16 @@ constructor(
        disposables.forEach { it.dispose() }
    }

    /**
     * Hides or shows smartspace
     *
     * @param hide TRUE hides smartspace, FALSE shows smartspace
     */
    fun hideSmartspace(hide: Boolean) {
        runBlocking(mainDispatcher) {
            smartSpaceView?.visibility = if (hide) View.INVISIBLE else View.VISIBLE
        }
    }

    /**
     * This sets up and shows a non-interactive smart space