|Background process limit||HV||6/21/12 5:58 PM|
I'm looking at changing this to "no background processes" and wondering where I should tweak this in the code. I know that this can be done through Settings->Developer Options->Background process limit, but I want my release default to be zero. Could anyone please point me to the right file?
|Re: Background process limit||HV||6/21/12 6:09 PM|
Oh I guess, I can look into ~/packages/apps/Settings
|Re: Background process limit||HV||6/22/12 2:28 PM|
Ok, I now have a partial fix for this. I made a small tweak in ~/packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java within onCreate() and now my default option is "No background processes". But, I realized that I have to go into the "Developer Options" page for this to kick in.
I'm wondering if anyone knows how to make this default WITHOUT going into this page? Appreciate any thoughts
|Re: [android-porting] Background process limit||Dianne Hackborn||6/23/12 12:09 AM|
That setting is intended for development purposes only. Android is not designed to run like this for production.
Why do you think you need to do this?
Android framework engineer
Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.
|Re: [android-porting] Background process limit||HV||6/23/12 9:03 PM|
understand that it's not normal, but this platform is running on low memory & I'd like to free up the entire memory once the app closes. I see that with "no background processes" there is huge improvement in free memory. So, I'd like to make this the default configuration