diff options
| author | 2009-06-18 04:30:32 +0200 | |
|---|---|---|
| committer | 2009-06-19 00:17:31 +0200 | |
| commit | 694e10ba8778dbb3cda9abe106f73ec0f45c8800 (patch) | |
| tree | 5a40bf218a32b7c98c3f060558cb91f154349ec8 /libs/utils/BackupHelpers.cpp | |
| parent | 55a72ba8eb43cd4423dff606cb8aefc3a1a23aa4 (diff) | |
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.
Diffstat (limited to 'libs/utils/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions