• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.android.systemui.plugins;
2 
3 import android.view.View;
4 import android.view.ViewGroup;
5 
6 import com.android.systemui.plugins.annotations.ProvidesInterface;
7 
8 /**
9  * Implement this plugin interface to add a sub-view in the Hotseat.
10  */
11 @ProvidesInterface(action = HotseatPlugin.ACTION, version = HotseatPlugin.VERSION)
12 public interface HotseatPlugin extends Plugin {
13     String ACTION = "com.android.systemui.action.PLUGIN_HOTSEAT";
14     int VERSION = 1;
15 
16     /**
17      * Creates a plugin view which will be added to the Hotseat.
18      */
createView(ViewGroup parent)19     View createView(ViewGroup parent);
20 }
21