OSDN Git Service

Reset the mDpiX and mDpiY values when qemu.sf.lcd_density is defined.
authorDavid 'Digit' Turner <digit@google.com>
Tue, 28 Jul 2009 22:38:58 +0000 (00:38 +0200)
committerDavid 'Digit' Turner <digit@google.com>
Tue, 28 Jul 2009 22:38:58 +0000 (00:38 +0200)
commit31469e1069a873993ff43dec803bf5f14fad0fb5
tree0751397ae1ff717ee212badc0aa404ba44219274
parentdccff9690cce09b4f8461d1d7874bb0692efb9fb
Reset the mDpiX and mDpiY values when qemu.sf.lcd_density is defined.

This will make android.view.Display return corresponding values for
the screen's DPI.
libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp