commit | f7b8771da2db7d9b86dae37114b488fe99383428 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Mon Feb 14 14:58:32 2022 +0000 |
committer | Zim <zezeozue@google.com> | Tue Feb 15 18:27:11 2022 +0000 |
tree | e7f8c2cbe139c408e5183399882cfb37cbda73b2 | |
parent | 853352e4f045507ba77ea4ba07b88f4ca2259e4e [diff] |
Improve MediaStore CloudMediaProvider (CMP) APIs Previously, we had the following poorly named APIs on MediaStore: 1. getCloudProvider: Leaked the CMP authority to apps 2. notifyCloudEvent: Too broad Now: - Renamed 1) to isCurrentCloudMediaProvider and added isSupportedCloudMediaProvider - Renamed notifyCloudEvent to notifyCloudMediaChangedEvent Test: atest CloudPhotoPickerTest Bug: 214029148 Change-Id: Ia5534162b0fb38e18fc05dd4df6f98ab7ec8e4f0