diff options
author | David 'Digit' Turner <digit@android.com> | 2011-01-19 22:18:02 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-01-19 22:28:52 +0100 |
commit | 3bbc919b70c78e0be6387d06faa90743deedb4dc (patch) | |
tree | 9381676c67914b253f4e3ebfe67bdd361394358f /android/avd | |
parent | 3336176fc898915b7b5544f3a7c60ec2794507c3 (diff) | |
download | external_qemu-3bbc919b70c78e0be6387d06faa90743deedb4dc.zip external_qemu-3bbc919b70c78e0be6387d06faa90743deedb4dc.tar.gz external_qemu-3bbc919b70c78e0be6387d06faa90743deedb4dc.tar.bz2 |
Compute default memory size from screen size.
This change is used when using a magic skin (e.g. -skin 800x600)
or when using the full Android build system, in order to determine
a good default for the RAM size.
Change-Id: I900e28146592cdd3f0df9b3f1828b119309eea85
Diffstat (limited to 'android/avd')
-rw-r--r-- | android/avd/hardware-properties.ini | 2 | ||||
-rw-r--r-- | android/avd/hw-config-defs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/android/avd/hardware-properties.ini b/android/avd/hardware-properties.ini index 68979de..8e5cc41 100644 --- a/android/avd/hardware-properties.ini +++ b/android/avd/hardware-properties.ini @@ -26,7 +26,7 @@ # Ram size name = hw.ramSize type = integer -default = 96 +default = 0 abstract = Device ram size description = The amount of physical RAM on the device, in megabytes. diff --git a/android/avd/hw-config-defs.h b/android/avd/hw-config-defs.h index 9eb4335..9602a4a 100644 --- a/android/avd/hw-config-defs.h +++ b/android/avd/hw-config-defs.h @@ -20,7 +20,7 @@ HWCFG_INT( hw_ramSize, "hw.ramSize", - 96, + 0, "Device ram size", "The amount of physical RAM on the device, in megabytes.") |