device/generic/common
リビジョン | f96a177ed70b2c53097fb546204f189d3e77dc18 (tree) |
---|---|
日時 | 2019-12-27 16:30:25 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
init: allow to set ro.sf.lcd_density by DPI in cmdline
@@ -542,6 +542,9 @@ for c in `cat /proc/cmdline`; do | ||
542 | 542 | DEBUG=*) |
543 | 543 | [ -n "$DEBUG" ] && set_property debug.logcat 1 |
544 | 544 | ;; |
545 | + DPI=*) | |
546 | + set_property ro.sf.lcd_density "$DPI" | |
547 | + ;; | |
545 | 548 | esac |
546 | 549 | fi |
547 | 550 | ;; |