I.MX6 7" navigation bar as black bar

时间:2022-02-21 09:26:19
/*********************************************************************************
 *                   I.MX6 7" navigation bar as black bar
 * 说明:
 *     这个问题一直困扰,原因是屏幕自适应的时候系统识别出错了。
 *
 *                                              2017-11-1 深圳 南山平山村 曾剑锋
 ********************************************************************************/

一、参考文档:
    1. Android Lollipop 5.0.0 ga release for i.MX6 boards
        https://boundarydevices.com/android-lollipop-5-0-0-ga-release-for-i-mx6-boards/
    2. Lcd Density adjustment and missing navigation icons on navigation bar / systemui
        https://community.nxp.com/thread/384348

二、方法:
    1. 方法一:
Modify ro.sf.lcd_density=160 into ro.sf.lcd_density=120. 2. 方法二:
frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java ... // mNavigationBarCanMove = shortSizeDp < 600; ...