summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2012-12-11 12:48:08 -0800
committerKenny Root <kroot@google.com>2012-12-11 13:35:43 -0800
commit3f96d0e127542a5fc1eb00e2c327d909669c4f52 (patch)
tree0800072277f22cf607503986765c0fcb950010d9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd39a0d8041cec16429331937ec81d55f18b0db72 (diff)
If freeCache deletes APK, give out of space error
After DownloadManager has downloaded an application to cache to install during low memory condition, we try to free cache to fit the new application. The free cache function deletes older files first, but it will also delete the downloaded application (since it's in cache) as a last resort since installd has no context about it. This just changes the error code returned in this case so that we'll give something more meaningful to the user. A later fix should actually make this more sane. For instance: know which file to avoid deleting, not even trying to delete anything if it won't arrive at the desired free space. Bug: 7684538 Change-Id: Ide77320fc51a4f692ef8042cb0eafe17b5cd279d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions