| Index: content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
| diff --git a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
| index 6c98eb49a9b6e209240bd3950d394fb13e276878..ea0c4e6586e438d23822fb7259617281130fdc05 100644
|
| --- a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
| +++ b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
| @@ -72,7 +72,8 @@ public class ContentShellActivity extends Activity {
|
|
|
| setContentView(R.layout.content_shell_activity);
|
| mShellManager = (ShellManager) findViewById(R.id.shell_container);
|
| - mWindowAndroid = new ActivityWindowAndroid(this);
|
| + final boolean listenToActivityState = true;
|
| + mWindowAndroid = new ActivityWindowAndroid(this, listenToActivityState);
|
| mWindowAndroid.restoreInstanceState(savedInstanceState);
|
| mShellManager.setWindow(mWindowAndroid);
|
| // Set up the animation placeholder to be the SurfaceView. This disables the
|
| @@ -184,14 +185,6 @@ public class ContentShellActivity extends Activity {
|
| }
|
|
|
| @Override
|
| - protected void onStop() {
|
| - super.onStop();
|
| -
|
| - ContentViewCore contentViewCore = getActiveContentViewCore();
|
| - if (contentViewCore != null) contentViewCore.onHide();
|
| - }
|
| -
|
| - @Override
|
| protected void onStart() {
|
| super.onStart();
|
|
|
|
|