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

Commit 8b89f0b2 authored by Brian Attwell's avatar Brian Attwell
Browse files

Revert "Expose ContentProviderOperation type"

This reverts commit 9986f8e8.

Change-Id: Icdcedf485a67fff4ab5e6bab9cc3e82aa7cc8760
parent 9986f8e8
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -6951,11 +6951,7 @@ package android.content {
    method public android.content.ContentProviderResult apply(android.content.ContentProvider, android.content.ContentProviderResult[], int) throws android.content.OperationApplicationException;
    method public int describeContents();
    method public android.net.Uri getUri();
    method public boolean isAssertQuery();
    method public boolean isDelete();
    method public boolean isInsert();
    method public boolean isReadOperation();
    method public boolean isUpdate();
    method public boolean isWriteOperation();
    method public boolean isYieldAllowed();
    method public static android.content.ContentProviderOperation.Builder newAssertQuery(android.net.Uri);
+0 −16
Original line number Diff line number Diff line
@@ -208,22 +208,6 @@ public class ContentProviderOperation implements Parcelable {
        return mType;
    }

    public boolean isInsert() {
        return mType == TYPE_INSERT;
    }

    public boolean isDelete() {
        return mType == TYPE_DELETE;
    }

    public boolean isUpdate() {
        return mType == TYPE_UPDATE;
    }

    public boolean isAssertQuery() {
        return mType == TYPE_ASSERT;
    }

    public boolean isWriteOperation() {
        return mType == TYPE_DELETE || mType == TYPE_INSERT || mType == TYPE_UPDATE;
    }