Cleaning mediaprovider on removal of clone profile.

Clone Profile shared media provider with owner profile. Once the clone
profile is removed, the storage directories associated with clone
profile are deleted but the media provider still have dangling
references to the media files. Creating a user intent receiver which
would clean the media files associated with removed user(in this case
clone profile.)

Bug: 204403811
Test:  atest com.android.cts.appcloning.AppCloningHostTest#testRemoveClonedProfileMediaProviderCleanup
Also tested Manually, following use case have been tested
1. Removal of clone profile, where clone profile had images and videos.
The files associated with clone profile are deleted from media provider database.
2. Removal of normal user, as other users do not share the media
provider their media providers are not impacted.i
3. Removal of user and running idle maintenance job, the media gets cleared

Change-Id: Ic5f1404900cf3fd9713624d659583da332e510ab
(cherry picked from commit ab11b4e042d881f72c1b51f91626ffea5fc3cc4a)
1 file changed