replicant-frameworks_native/libs/surfaceflinger/DisplayHardware
David 'Digit' Turner 694e10ba87 Allow the qemu.sf.lcd_density property to override the value of ro.sf.lcd_density
ro.sf.lcd_density is usually defined in the build.prop file which is parsed by init
before anything else. Since its name begins with "ro.", this property is write-once
and cannot later be modified, e.g. in /system/etc/init.goldfish.sh.

In other words, you cannot use "emulator -prop ro.sf.lcd_density=<value>", since
it is impossible to override the value defined in build.prop

This patch modifies the system to recognize "qemu.sf.lcd_density" as an override
value, which can be set with "emulator -prop qemu.sf.lcd_density=<value>", forcing
a specific density.

A later patch will allow the emulator to automatically set this property depending
on AVD hardware configuration settings.
2009-06-19 00:17:31 +02:00
..
DisplayHardware.cpp Allow the qemu.sf.lcd_density property to override the value of ro.sf.lcd_density 2009-06-19 00:17:31 +02:00
DisplayHardware.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
DisplayHardwareBase.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
DisplayHardwareBase.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00