summaryrefslogtreecommitdiffstats
path: root/libdvm
diff options
context:
space:
mode:
Diffstat (limited to 'libdvm')
-rw-r--r--libdvm/src/main/java/dalvik/system/VMRuntime.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/libdvm/src/main/java/dalvik/system/VMRuntime.java b/libdvm/src/main/java/dalvik/system/VMRuntime.java
index 8ee607c..fb77bed 100644
--- a/libdvm/src/main/java/dalvik/system/VMRuntime.java
+++ b/libdvm/src/main/java/dalvik/system/VMRuntime.java
@@ -237,4 +237,11 @@ public final class VMRuntime {
* Registers a native free by reducing the number of native bytes accounted for.
*/
public native void registerNativeFree(int bytes);
+
+ /*
+ * Updates the internal process state of the VM. You can find the process states in
+ * ActivityManager.
+ */
+ public native void updateProcessState(int newProcessState);
+
}