1 package com.android.systemui.plugins; 2 3 import android.view.ViewGroup; 4 import com.android.systemui.plugins.annotations.ProvidesInterface; 5 6 /** 7 * Implement this interface to wrap the widget on the first home screen, e.g. to add new content. 8 */ 9 @ProvidesInterface(action = FirstScreenWidget.ACTION, version = FirstScreenWidget.VERSION) 10 public interface FirstScreenWidget extends Plugin { 11 String ACTION = "com.android.systemui.action.PLUGIN_FIRST_SCREEN_WIDGET"; 12 int VERSION = 1; 13 onWidgetUpdated(ViewGroup widgetView)14 void onWidgetUpdated(ViewGroup widgetView); 15 } 16