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

Commit 1eca8292 authored by Adnan Begovic's avatar Adnan Begovic
Browse files

sysui: Delegate on/off state to plugins.

  Instead of having the smartspace implementations handle
  screen state, pass that responsibility to the plugins
  that host the SmartspaceViews.

Bug: 265931274
Flag: NA
Test: None, interface change.

Change-Id: I7ee624916363c9c9036cd28025bde9924465bb5e
parent 998b2569
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -128,6 +128,11 @@ public interface BcSmartspaceDataPlugin extends Plugin {
         */
        void setDozeAmount(float amount);

        /**
         * Set if the screen is on.
         */
        default void setScreenOn(boolean screenOn) {}

        /**
         * Set if dozing is true or false
         */