Loading packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/KeyguardPreviewRenderer.kt +8 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/KeyguardPreviewRenderer.kt +8 −1 Original line number Diff line number Diff line Loading @@ -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 Loading