Recreate setCloudProvider() funtion inorder to pass permission checks before updating cloud Provider Recreate setCloudProvider() function in PhotoPickerBaseTest class inorder to pass permission checks, added in MediaProvider class while updating the cloud provider. Gave necessary shell permissions to update cloudProvider through shell. Also modified previously present setCloudProvider() function call in all the CTS tests. Bug: b/267327327 Test: Try running ` atest cts/tests/PhotoPicker/src/android/photopicker/cts ` and see if all the testcases passed. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:68c16c3314c088896170296fb18e3ea0b7625df1) (cherry picked from https://android-review.googlesource.com/q/commit:b27076cf7218856be9cf916a987cd67fd3cee66b) Merged-In: Ie381710835f0f55dd02df221718b821967d7a37f Merged-In: Iecf274fd9616a4ccda281a86646bb652fb1df408 Change-Id: Ie381710835f0f55dd02df221718b821967d7a37f