Bug 870171 - Followups: 1

Bug 870171 - Review comment: Change to assertTrue(Cusor.moveToFirst());
Bug 870171 - Part 6: Move BroadcastReceiver to base FHR package; remove UploadReceiver.
Bug 870171 - Part 7: Add BackgroundServiceTestCase and base implementation for BroadcastReceiver.
Bug 870171 - Part 8: Add upload pref intent tests to BroadcastReceiver; cancel PendingIntent.
Bug 870171 - Part 9: Add testHealthReportUploadService.
Bug 870171 - Part 10: Remove AnnouncementsStartReceiver.
Bug 870171 - Part 11: Add AnnouncementsBroadcastService tests.
Bug 870171 - Followups: 2

Bug 870171 - Followup: Correct comment in FHR manifest.
Bug 870171 - Review comment: Fold PendingIntent.cancel into cancelAlarm.
Bug 870171 - Part 12: Add HealthReportPruneService skeleton.
Bug 870171 - Part 13: Validate prune intent.
Bug 870171 - Part 14: Add PrunePolicy skeletion.
Bug 870171 - Part 15: Add attemptPruneByDuration.
Bug 870171 - Part 16: Add attemptPruneBySize.
Bug 870171 - Part 17: Add pruneEvents and tests.
Bug 870171 - Part 18: Add pruneEnvironments and tests.
Bug 870171 - Part 19: Add attemptVacuum.
Bug 870171 - Part 20: Have BroadcastService start PruneService alarm.
Bug 870171 - Followups: 18

Bug 870171 - Followup: Put deletion inside transactions, add final keyword.
Bug 870171 - Followup: Take onCreate/onUpgrade out of a transaction.

While not strictly necessary since transactions can be nested, these
methods are contained in a transaction by default so pulling them out
should increase performance.

Bug 870171 - Followup: Put event table deletions into a transaction.
Bug 870171 - Review comment: Logger.error on exception during prune.
Bug 870171 - Review comment: Catching exception if SharedPreferences.Editor throws.
Bug 870171 - Review comment: Explain environmentID + rename.
Bug 870171 - Review comment: Change pruneByDuration to expiration.
Bug 870171 - Review comment: Hyphens in prune-by-size for clarity.
Bug 870171 - Review comment: Make MIN_MILLIS_BETWEEN_PRUNES_BY_DURATION less confusing.
Bug 870171 - Review comment: Clarify pruning environment process.
Bug 870171 - Review comment: Concatenate over parameterized queries.
Bug 870171 - Review comment: NPE cursor initialization.
Bug 870171 - Review comment: Inline current environment comment.
Bug 870171 - Review comment: Concat SQL query date.
Bug 870171 - Review comment: Correct createFreePages comment.
Bug 870171 - Review comment: Correctly cache current environment.
Bug 870171 - Review comment: Commiting -> committing.
Bug 870171 - Review comment: onLowMemory() comment.
Bug 870171 - Part 21: Add TestHealthReportPruneService and isIntentValid test.
Bug 870171 - Part 22: Add PruneService test to BroadcastService test class.