summaryrefslogtreecommitdiffstats
path: root/src_plugins/com/android/systemui/plugins/HotseatPlugin.java
blob: 1264e0d3b094d76a8cbe4ce9e0982229b2ba904a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.android.systemui.plugins;

import android.view.View;
import android.view.ViewGroup;

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

/**
 * Implement this plugin interface to add a sub-view in the Hotseat.
 */
@ProvidesInterface(action = HotseatPlugin.ACTION, version = HotseatPlugin.VERSION)
public interface HotseatPlugin extends Plugin {
    String ACTION = "com.android.systemui.action.PLUGIN_HOTSEAT";
    int VERSION = 1;

    /**
     * Creates a plugin view which will be added to the Hotseat.
     */
    View createView(ViewGroup parent);
}