HotseatPlugin.java 583 B

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