Merge "Update documentation for ACTION_CLEAR_APP_CACHE" into rvc-dev am: 669b6a5987 am: 7b1bcf049b am: e7077fb944

Change-Id: I272dbebafcb9ef4bdee0934fbdefa4f8df914d43
This commit is contained in:
TreeHugger Robot
2020-05-18 11:04:50 +00:00
committed by Automerger Merge Worker

View File

@@ -226,9 +226,10 @@ public class StorageManager {
* <p> * <p>
* This intent should be launched using * This intent should be launched using
* {@link Activity#startActivityForResult(Intent, int)} so that the user * {@link Activity#startActivityForResult(Intent, int)} so that the user
* knows which app is requesting to clear cache. The returned result will * knows which app is requesting to clear cache. The returned result will be:
* be {@link Activity#RESULT_OK} if the activity was launched and the user accepted to clear * {@link Activity#RESULT_OK} if the activity was launched and all cache was cleared,
* cache, or {@link Activity#RESULT_CANCELED} otherwise. * {@link OsConstants#EIO} if an error occurred while clearing the cache or
* {@link Activity#RESULT_CANCELED} otherwise.
*/ */
@RequiresPermission(android.Manifest.permission.MANAGE_EXTERNAL_STORAGE) @RequiresPermission(android.Manifest.permission.MANAGE_EXTERNAL_STORAGE)
@SdkConstant(SdkConstant.SdkConstantType.ACTIVITY_INTENT_ACTION) @SdkConstant(SdkConstant.SdkConstantType.ACTIVITY_INTENT_ACTION)