微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > LowStorage条件下的相关提示

LowStorage条件下的相关提示

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]
Low Storage条件下的相关提示
[SOLUTION]
1) 低于Min(50M,10%*data区大小)
mMemLowThreshold@alps\frameworks\base\services\java\com\android\server\Dev
iceStorageMonitorService.java),php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework会送
Intent.ACTION_DEVICE_STORAGE_LOW intent出去,此时status bar上会有notification


2) 低于10M(
EXCEPTION_LOW_THRESHOLD_BYTES@alps\frameworks\base\services\java\com\andro
id\server\DeviceStorageMonitorService.java), low storage导致的一些APP run
time异常,会show dialog提示


3) 低于5M
(FULL_THRESHOLD_BYTE
S@alps\frameworks\base\services\java\com\android\server\DeviceStorageMonit
orService.java),framework会送Intent.ACTION_DEVICE_STORAGE_FULL出去
4) 低于4M
CRITICAL_LOW_THRESHOLD_BYTES@alps\frameworks\base\services\java\com\androi
d\server\DeviceStorageMonitorService.java),每隔30s(
DEFAULT_CHECK_INTERVAL@alps\frameworks\base\services\java\com\android\serv
er\DeviceStorageMonitorService.java)会show “存储空间满”的dialog



Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top