| Index: chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
|
| index 9e0d6bcbb052703100b12290e05255718cbceb74..3a4be6b747cbe4bb2b98d25fe6bc31b59b33cbdb 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
|
| @@ -519,13 +519,11 @@ public abstract class ChromeActivity extends AsyncInitializationActivity
|
| @Override
|
| public void onLoadStopped(Tab tab, boolean toDifferentDocument) {
|
| postDeferredStartupIfNeeded();
|
| - showUpdateInfoBarIfNecessary();
|
| }
|
|
|
| @Override
|
| public void onPageLoadFinished(Tab tab) {
|
| postDeferredStartupIfNeeded();
|
| - showUpdateInfoBarIfNecessary();
|
| OfflinePageUtils.showOfflineSnackbarIfNecessary(ChromeActivity.this, tab);
|
| }
|
|
|
| @@ -695,7 +693,6 @@ public abstract class ChromeActivity extends AsyncInitializationActivity
|
| }
|
| });
|
|
|
| - getChromeApplication().getUpdateInfoBarHelper().checkForUpdateOnBackgroundThread(this);
|
| UpdateMenuItemHelper.getInstance().checkForUpdateOnBackgroundThread(this);
|
|
|
| removeSnapshotDatabase();
|
| @@ -1012,13 +1009,6 @@ public abstract class ChromeActivity extends AsyncInitializationActivity
|
| }
|
|
|
| /**
|
| - * @return Whether the update infobar may be shown.
|
| - */
|
| - public boolean mayShowUpdateInfoBar() {
|
| - return true;
|
| - }
|
| -
|
| - /**
|
| * Add the specified tab to bookmarks or allows to edit the bookmark if the specified tab is
|
| * already bookmarked. If a new bookmark is added, a snackbar will be shown.
|
| * @param tabToBookmark The tab that needs to be bookmarked.
|
| @@ -1524,10 +1514,6 @@ public abstract class ChromeActivity extends AsyncInitializationActivity
|
| }
|
| }
|
|
|
| - private void showUpdateInfoBarIfNecessary() {
|
| - getChromeApplication().getUpdateInfoBarHelper().showUpdateInfobarIfNecessary(this);
|
| - }
|
| -
|
| /**
|
| * Determines whether the ContentView is currently visible and not hidden by an overlay
|
| * @return true if the ContentView is fully hidden by another view (i.e. the tab stack)
|
|
|