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.

Change-Id: Ie381710835f0f55dd02df221718b821967d7a37f
5 files changed