Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8911c37a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Set only one remote adapter for RemoteViews" into udc-qpr-dev

parents 5d34b6e0 944abc5a
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -232,6 +232,7 @@ public class RemoteViews implements Parcelable, Filter {
    private static final int NIGHT_MODE_REFLECTION_ACTION_TAG = 30;
    private static final int SET_REMOTE_COLLECTION_ITEMS_ADAPTER_TAG = 31;
    private static final int ATTRIBUTE_REFLECTION_ACTION_TAG = 32;
    private static final int SET_REMOTE_ADAPTER_TAG = 33;

    /** @hide **/
    @IntDef(prefix = "MARGIN_", value = {
@@ -960,6 +961,11 @@ public class RemoteViews implements Parcelable, Filter {
            return SET_REMOTE_VIEW_ADAPTER_LIST_TAG;
        }

        @Override
        public String getUniqueKey() {
            return (SET_REMOTE_ADAPTER_TAG + "_" + viewId);
        }

        int viewTypeCount;
        ArrayList<RemoteViews> list;
    }
@@ -1082,6 +1088,11 @@ public class RemoteViews implements Parcelable, Filter {
        public int getActionTag() {
            return SET_REMOTE_COLLECTION_ITEMS_ADAPTER_TAG;
        }

        @Override
        public String getUniqueKey() {
            return (SET_REMOTE_ADAPTER_TAG + "_" + viewId);
        }
    }

    private class SetRemoteViewsAdapterIntent extends Action {