summaryrefslogtreecommitdiff
path: root/packages/SystemUI/plugin/src/com/android/systemui/plugins/DozeServicePlugin.java
blob: 3ca5690af474d901a0abdf48ea99c27b60a27de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.android.systemui.plugins;

import com.android.systemui.plugins.annotations.ProvidesInterface;

@ProvidesInterface(action = DozeServicePlugin.ACTION, version = DozeServicePlugin.VERSION)
public interface DozeServicePlugin extends Plugin {
    String ACTION = "com.android.systemui.action.PLUGIN_DOZE";
    int VERSION = 1;

    public interface RequestDoze {
        void onRequestShowDoze();

        void onRequestHideDoze();
    }

    void onDreamingStarted();

    void onDreamingStopped();

    void setDozeRequester(RequestDoze requester);
}