c6eb4fe44502116f834fadcc54214b3fa93ff564 |
|
28-Jul-2011 |
Debashish Chatterjee <debashishc@google.com> |
Delete voicemail data when source package is uninstalled. The deletion of voicemail data for the uninstalled package is done through a service. The PackageIntentReceiver just forwards the package removal intent to the service after sanity check that the intent is really for an uninstalled package. The logic to check whether the intent should trigger a clean up is repeated in VoicemailCleanupService as well. This provides an extra safety net and and also lets the unit test cover this functionality. Bug: 5056159 Change-Id: Id7315a1318d510b50878f26c2e0d380c1920ee4e
/packages/providers/ContactsProvider/src/com/android/providers/contacts/PackageIntentReceiver.java
|