Expose type constants and accessor for unit tests.
Internally, ContentProviderOperation maintains a "type", which correspond to builder methods, such as "newInsert()". Unit tests often need to assert which operations are being built, so this change adds a getType() accessor and esposes the internal constants used. They are marked with @hide so they are not exposed in the public API.
Loading
Please register or sign in to comment