package jp.yokomark.remoteview.reader.action;

import android.widget.RemoteViews;

import jp.yokomark.remoteview.reader.ActionMap;
import jp.yokomark.remoteview.reader.RemoteViewsInfo;
import jp.yokomark.remoteview.reader.RemoteViewsReader;

/**
 * @author KeishinYokomaku
 */
public class ViewGroupAction extends RemoteViewsAction {
    public static final String TAG = ViewGroupAction.class.getSimpleName();
    private final RemoteViews nested;

    public ViewGroupAction(int viewId, RemoteViews nested) {
        super(ActionMap.VIEW_GROUP.getTag(), viewId);
        this.nested = nested;
    }

    @Override
    public String getActionName() {
        return "ViewGroupAction";
    }

    public RemoteViews getNestedViews() {
        return nested;
    }

    public RemoteViewsInfo getNestedViewsInfo() {
        if (nested == null) {
            return null;
        }
        return RemoteViewsReader.read(nested);
    }
}

@@ -40,16 +40,48 @@
 ction;%0A%0A
+import android.content.Context;%0A
 import a
@@ -835,16 +835,31 @@
 ewsInfo(
+Context context
 ) %7B%0A    
@@ -957,16 +957,25 @@
 er.read(
+context, 
 nested);

Fix compilation error