OSDN Git Service

Deprecate storage "low" and "ok" broadcasts.
authorJeff Sharkey <jsharkey@android.com>
Sun, 12 Mar 2017 23:27:47 +0000 (17:27 -0600)
committerJeff Sharkey <jsharkey@android.com>
Sun, 12 Mar 2017 23:31:20 +0000 (17:31 -0600)
commit179d6b3f0ccc506b20ae432c84fe5c3d09c10bbf
treee5719f516d6642f5405322596e3141f32af39dd9
parent51673a50e3198c48dbfc56c7c567c0660f92dafa
Deprecate storage "low" and "ok" broadcasts.

These broadcasts resulted in a terrible user experience where dozens
of apps would wake up and try deleting everything they possibly can,
meaning that we'd thrash between showing/hiding the low space
notification to users.

Instead, if apps have data that they're okay being purged when the
system is chronically low on space, we want to strongly encourage
them to rely on the much-improved getCacheDir() behaviors in OC.

Test: builds, boots
Bug: 35406598
Change-Id: I74abfba1b8d3948363b79f8b66ca0ad60faac756
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/content/Intent.java