[Android WebViewShell] Add new intent listener to send memory pressure signal.
commitdcbc8b75c5c1393557770ab468cb2ae6c2d0fe0c
authortimvolodine <timvolodine@chromium.org>
Fri, 10 Jul 2015 13:02:33 +0000 (10 06:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Jul 2015 13:03:10 +0000 (10 13:03 +0000)
tree48ee83242b103152e02cbb8e58eeec6bfdf4fb17
parent5895b1965309229401de2afc2c815890d51ff4f5
[Android WebViewShell] Add new intent listener to send memory pressure signal.

This patch instroduces TelemetryMemoryPressureActivity which overrides the
onNewIntent() method in order to propagate intents to MemoryPressureListener.
It also makes sure the app stays in background while doing that.

BUG=497100

Review URL: https://codereview.chromium.org/1163213002

Cr-Commit-Position: refs/heads/master@{#338283}
android_webview/tools/WebViewShell/AndroidManifest.xml
android_webview/tools/WebViewShell/src/org/chromium/webview_shell/TelemetryMemoryPressureActivity.java [new file with mode: 0644]