Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2682)

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 1104293006: Revert of [Android] Stop hiding the RWHV layer subtree when hiding the widget (patchset #12 id:3300… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2357
Patch Set: Rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/Tab.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 4e8baa3a10886e92e175fd9a8f26a1dab64a092f..68b695e0d1dc5a4d14d75679adc3328bb9e05673 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -870,11 +870,9 @@ public class AwContents implements SmartClipProvider,
WebContents webContents = nativeGetWebContents(mNativeAwContents);
- // WebView does not currently initialize ApplicationStatus, crbug.com/470582.
- final boolean listenToActivityState = false;
Activity activity = ContentViewCore.activityFromContext(mContext);
mWindowAndroid = activity != null
- ? new ActivityWindowAndroid(activity, listenToActivityState)
+ ? new ActivityWindowAndroid(activity)
: new WindowAndroid(mContext.getApplicationContext());
mContentViewCore = createAndInitializeContentViewCore(
mContainerView, mContext, mInternalAccessAdapter, webContents,
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/Tab.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698