d2a690e0269d4c3a59f63fc1bb1f6f75d6431e77 |
|
07-Dec-2015 |
Wenyi Wang <wenyiw@google.com> |
Backport isInsert() using wrapper class for ContentProviderOperation (2/2) Our strategy is to create a wrapper class around each instance of a ContentProviderOperation and include the type of ContentProviderOperation in wrapper. Since ContentProviderOperation is usually created by Builder and we don’t have access to the type via Builder, so we need to create a wrapper class for Builder first and include type. Call stack: ContactSaveService --> RawContactDeltaList --> RawContactDelta --> ValuesDelta Bug: 25629359 Change-Id: Ib1c0c6e7d780564ca2ab837b0d73dcf2accc7a3a
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/BuilderWrapper.java
|