diff options
| author | Brian Attwell <brianattwell@google.com> | 2015-01-22 12:52:00 -0800 |
|---|---|---|
| committer | Brian Attwell <brianattwell@google.com> | 2015-01-22 12:53:29 -0800 |
| commit | 9986f8e85a095320afbdebb2d0dfee9a2e19e510 (patch) | |
| tree | a7285f4279d3dd48d0a4de7de22c080b1ef14c12 /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | 5b0d4881e7b45cb00f6874d86f28320be3b2e266 (diff) | |
Expose ContentProviderOperation type
CHANGE
isInsert, isDelete, isUpdate, isAssertQuery
JUSTIFICATION
The use of getType() in lots of unit tests means that
ContentProviderOperation#getType() can't practically be
removed.
Why not make it public? This allows 3p to use getType() in
unit tests. Plus it allows the unbundled contacts app
to continue using getType() in order to handle TYPE_INSERT
specially, without needing to awkwardly pass isInsert values
around.
Bug: 18777272
Change-Id: I3265193cda0c9405f6df896cd96a10df7225445a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
