summaryrefslogtreecommitdiffstats
path: root/src_plugins/com/android/systemui/plugins/FirstScreenWidget.java
blob: 8d7dd4bc0872f665a3930205fa0286e36c452882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.android.systemui.plugins;

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

/**
 * Implement this interface to wrap the widget on the first home screen, e.g. to add new content.
 */
@ProvidesInterface(action = FirstScreenWidget.ACTION, version = FirstScreenWidget.VERSION)
public interface FirstScreenWidget extends Plugin {
    String ACTION = "com.android.systemui.action.PLUGIN_FIRST_SCREEN_WIDGET";
    int VERSION = 1;

    void onWidgetUpdated(ViewGroup widgetView);
}