summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/20/changes.html
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-03-18 17:54:51 -0600
committerJeff Sharkey <jsharkey@android.com>2017-03-18 17:54:54 -0600
commit683bcd30ef0a90bc2a6a3dffb91be5a803560fa9 (patch)
tree462a4a9c1fdc127520b6a1ab6c60c1cf90c1fd26 /docs/html/sdk/api_diff/20/changes.html
parentcf2c279a2320de6d81f7fffa4ddfd9780abe1e20 (diff)
Use allocatable space when measuring for install.
The system is often willing to clear cached data to make room for incoming installs, so use StorageManager.getAllocatableBytes() when making "does it fit?" style decisions. Add new INSTALL_ALLOCATE_AGGRESSIVE flag, which will flow through to use StorageManager.FLAG_ALLOCATE_AGGRESSIVE when making allocation related requests. (This can be used by installers to indicate packages that are critical to system health or security. Test: runtest -x frameworks/base/core/tests/coretests/src/android/content/pm/PackageHelperTests.java Bug: 36131437 Change-Id: If8118762fd1ca1f497d2cdd1787bdb3c9759dcc0
Diffstat (limited to 'docs/html/sdk/api_diff/20/changes.html')
0 files changed, 0 insertions, 0 deletions