项目需要,获取系统某个分区的空间不足阈值,比如/data分区。原生Android接口如下: /** 1224 * Return the number of available bytes at which the given path is 1225 * considered running low on storage. 1226 * 1227 * @hide 1228 */ 1229 public long getStorageLowBytes(File path<