Thanks Meter 1378
Join Date: Jul 2011
Location: The Netherlands
[Q] Does ro.config.low_ram=true have an effect on <4.4 ROMs?
As most of you following the KitKat developing scene for lower end devices probably know, Android 4.4 introduced the low_ram
property. On 4.4 ROM's, transparent statusbar is disabled for example for devices with this property set to true
Now, the situation is:
I'm running CM10 (4.1), because it's one of the most stable custom ROM's for my device. A few days ago I put the following line to build.prop:
hoping to notice better optimized RAM management. It's hard to claim an effect knowing that it could very well be placebo, so I was hoping someone understanding this better could explain the effects to me.
Added a new ActivityManager.isLowRamDevice() to allow applications to detect when running on low memory devices and choose to disable large-RAM features.
We are introducing a new API called ActivityManager.isLowRamDevice() for applications to determine if they should turn off specific memory-intensive features that work poorly on low-memory devices.
For 512MB devices, this API is expected to return: "true" It can be enabled by the following system property in the device makefile. PRODUCT_PROPERTY_OVERRIDES += ro.config.low_ram=true
I too noted that it says API, so that means that it's dependent on the OS version. Is there any way it can have an effect on memory mangement if not runnign 4.4?
Same goes for disabling JIT(see a bit lower on the source page), which needs to be set in the 'product makefile'
Device > Sony Ericsson Xperia Neo
ROM > FreeXperia CM10
Kernel > Stock FXP