Merge "Set only one remote adapter for RemoteViews" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8911c37ae2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user