Monday, June 27, 2016

[Framework] Where is the OOM Killer code located in the AOSP source tree?

I'm trying to do something at the framework level which is very similar to the way the OOM killer creates a SavedInstanceBundle and then destroys the task/app. Honestly, I'd like to just use the functions that already exist, instead of rolling my own. However, as we all know, it can be hard to find specific code in the gigantic AOSP tree.

I've found the TaskManager code that simply destroys the task, but creating a SavedInstanceBundle is crucial here. So, does anyone know where the OOM killer code is at?


from xda-developers http://ift.tt/2904fWL
via IFTTT

No comments:

Post a Comment