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

Commit 5080c179 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Set only one remote adapter for RemoteViews" into udc-qpr-dev am: 8911c37a am: 67b27bdf

parents 247a997d 67b27bdf
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 {