• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

Revisãof96a177ed70b2c53097fb546204f189d3e77dc18 (tree)
Hora2019-12-27 16:30:25
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Mensagem de Log

init: allow to set ro.sf.lcd_density by DPI in cmdline

Mudança Sumário

Diff

--- a/init.sh
+++ b/init.sh
@@ -542,6 +542,9 @@ for c in `cat /proc/cmdline`; do
542542 DEBUG=*)
543543 [ -n "$DEBUG" ] && set_property debug.logcat 1
544544 ;;
545+ DPI=*)
546+ set_property ro.sf.lcd_density "$DPI"
547+ ;;
545548 esac
546549 fi
547550 ;;