From: // http://blog.csdn.net/pkigavin/article/details/8747209
According to/build/tools/buildinfo. SH: Echo "Ro. build. characteristics = $ target_aapt_characteristics "to find the target_aapt_characteristics = default place In the MK file (forgot the name) in the build folder. Change to tablet. You can try it.
In the build \ core \ product_config.mk file, replace target_aapt_characteristics with tablet.
Ro. SF. LCD _density = changed to 160
Rotation allowed
Search
<Bool name = "config_allowallrotations"> false </bool>
Changed:
<Bool name = "config_allowallrotations"> true </bool>
CRT screen off
Search
<Bool name = "config_animatescreenlights"> false </bool>
Changed:
<Bool name = "config_animatescreenlights"> true </bool>
Virtual key
Search
<Bool name = "config_shownavigationbar"> false </bool>
Changed:
<Bool name = "config_shownavigationbar"> true </bool>
Disable Input Method Switching
Search
<Bool name = "show_ongoing_ime_switcher"> true </bool>
Changed:
<Bool name = "show_ongoing_ime_switcher"> false </bool>
Do not wake up the screen when you unplug the charger
Search
<Bool name = "config_unplugturnsonscreen"> true </bool>
Changed:
<Bool name = "config_unplugturnsonscreen"> false </bool>
Lock screen Rotation
Search
<Bool name = "config_enablelockscreenrotation"> false </bool>
<Bool name = "lockscreen_isportrait"> true </bool>
Changed:
<Bool name = "config_enablelockscreenrotation"> true </bool>
<Bool name = "lockscreen_isportrait"> false </bool>