Limit DropBox storage to 1000 files (by default).

Also does trimming asynchronously (not directly in the broadcast receiver).

Bug: 2541253
Change-Id: I7daf8bc618e2dce68a98571f5f7fbce4df1d6a76
This commit is contained in:
Dan Egnor
2010-03-24 17:48:20 -07:00
parent 3e8b72ac6e
commit 3a8b0c18a4
3 changed files with 78 additions and 11 deletions

View File

@@ -2902,6 +2902,12 @@ public final class Settings {
*/
public static final String DROPBOX_AGE_SECONDS =
"dropbox_age_seconds";
/**
* Maximum number of entry files which {@link android.os.IDropBox} will keep around.
* @hide
*/
public static final String DROPBOX_MAX_FILES =
"dropbox_max_files";
/**
* Maximum amount of disk space used by {@link android.os.IDropBox} no matter what.
* @hide