Merge change I3b7d5cbe into eclair
* changes: Copy the selection args when creating a CPO since callers often reuse the passed in array.
This commit is contained in:
@@ -545,7 +545,8 @@ public class ContentProviderOperation implements Parcelable {
|
||||
"only updates, deletes, and asserts can have selections");
|
||||
}
|
||||
mSelection = selection;
|
||||
mSelectionArgs = selectionArgs;
|
||||
mSelectionArgs = new String[selectionArgs.length];
|
||||
System.arraycopy(selectionArgs, 0, mSelectionArgs, 0, selectionArgs.length);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user