Consistent pending and trashed expirations.

To give users a consistent experience, we now force the DATE_EXPIRES
value to a specific duration based on the IS_PENDING or IS_TRASHED
transition that is occurring.

Bug: 150366826, 151436090, 151227951, 142809046
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ia34369f5b1a1e6f5be8eb37ed1bc19ad66f202e2
4 files changed