PinnerService配置

 分类:Android, Java 阅读 (2,966)
3月 192020
 

PinnerService是用于锁定某些模块在内存中,避免这些模块被移出\移入内存从而提高程序的运行效率

具体可以参考https://source.android.google.cn/devices/tech/debug/jank_jitter这个页面中的相关介绍

PinnerService是在Android7.0中才增加的

在Android8.1系统源码中如何配置PinnerService?

打开文件frameworks/base/core/res/res/values/config.xml,增加如下配置:

具体哪些文件需要配置在PinnerService中?

 

 

打赏

Sorry, the comment form is closed at this time.