diff options
author | Leon Scroggins <scroggo@google.com> | 2010-04-15 11:01:53 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2010-04-15 11:28:42 -0400 |
commit | 8588d15a7c0b87049469fd80f9c53eb274cd837b (patch) | |
tree | d64bb6facc34eb3e93eb62b015215a4551978b30 /src/com/android | |
parent | f389da90dfc28064b63d40bbb3091f102ca5f44d (diff) | |
download | packages_apps_Browser-8588d15a7c0b87049469fd80f9c53eb274cd837b.zip packages_apps_Browser-8588d15a7c0b87049469fd80f9c53eb274cd837b.tar.gz packages_apps_Browser-8588d15a7c0b87049469fd80f9c53eb274cd837b.tar.bz2 |
When loading a new Intent, remove appTab association.
Bug 2598904
Change-Id: Ib4ef625606ccdae4b24efd0761f416e4851ca800
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/browser/BrowserActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index f9558b9..607dc38 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java @@ -539,6 +539,10 @@ public class BrowserActivity extends Activity } // Get rid of the subwindow if it exists dismissSubWindow(current); + // If the current Tab is being used as an application tab, + // remove the association, since the new Intent means that it is + // no longer associated with that application. + current.setAppId(null); loadUrlDataIn(current, urlData); } } |