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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java

Issue 2791383002: Fix Incorrect webapp behavior on Kitkat when reusing old WebappActivity. (Closed)
Patch Set: Nits. Created 3 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/webapps/WebappLauncherActivity.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
index 18a55aab7024be1f64550f2a1e1a43c21450a94b..87214d24d97f0fe8f41bdc2d289822f307b93400 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
@@ -104,10 +104,6 @@ public class WebappActivity extends FullScreenActivity {
if (newWebappInfo == null) {
Log.e(TAG, "Failed to parse new Intent: " + intent);
ApiCompatibilityUtils.finishAndRemoveTask(this);
- } else if (!TextUtils.equals(mWebappInfo.id(), newWebappInfo.id())) {
- mWebappInfo = newWebappInfo;
- resetSavedInstanceState();
- if (mIsInitialized) initializeUI(null);
} else if (newWebappInfo.shouldForceNavigation() && mIsInitialized) {
getActivityTab().loadUrl(new LoadUrlParams(
newWebappInfo.uri().toString(), PageTransition.AUTO_TOPLEVEL));
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappLauncherActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698