赞
踩
在13.0的系统rom产品开发中,对于产品设备类型都默认为tablet即平板电脑类型,即 product="tablet" 在一些不是平板的项目中,可能需要修改这个类型为device类型 即 product="device",这就需要找到相关设置系统属性的代码,修改系统属性就可以了
接下来具体实现相关的功能
- device\rockchip\rk356x\rk3568_x\rk3568_s.mk
- packages\apps\Settings\res\values\strings.xml
- <!-- Preference summary for gesture settings (phone) [CHAR LIMIT=NONE]-->类型为手机
- <string name="gesture_preference_summary" product="default">Quick gestures to control your phone</string>
- <!-- Preference summary for gesture settings (tablet) [CHAR LIMIT=NONE]-->类型为平板电脑
- <string name="gesture_preference_summary" product="tablet">Quick gestures to control y
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。