Index: chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java |
diff --git a/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java b/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java |
index 25582462a18b24cc530176254ae0d58a4c32c48d..5317014022b7a70433beecf9e03b6a4e9da96e02 100644 |
--- a/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java |
+++ b/chrome/android/testshell/java/src/org/chromium/chrome/testshell/ChromiumTestShellActivity.java |
@@ -12,6 +12,7 @@ import android.util.Log; |
import android.view.KeyEvent; |
import org.chromium.base.ChromiumActivity; |
+import org.chromium.base.MemoryPressureHandler; |
import org.chromium.chrome.browser.DevToolsServer; |
import org.chromium.content.browser.ActivityContentVideoViewDelegate; |
import org.chromium.content.browser.AndroidBrowserProcess; |
@@ -154,6 +155,11 @@ public class ChromiumTestShellActivity extends ChromiumActivity { |
} |
} |
+ @Override |
+ public void onTrimMemory(int level) { |
+ MemoryPressureHandler.onMemoryPressure(level); |
joth
2013/06/05 16:51:23
with my self-contained idea, this would not be nee
bulach
2013/06/05 19:02:11
indeed, removed.
|
+ } |
+ |
private static String getUrlFromIntent(Intent intent) { |
return intent != null ? intent.getDataString() : null; |
} |