Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 595a6687 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update documentation for ACTION_CLEAR_APP_CACHE" into rvc-dev am: 669b6a59

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