summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2010-04-15 11:01:53 -0400
committerLeon Scroggins <scroggo@google.com>2010-04-15 11:28:42 -0400
commit8588d15a7c0b87049469fd80f9c53eb274cd837b (patch)
treed64bb6facc34eb3e93eb62b015215a4551978b30 /src/com/android
parentf389da90dfc28064b63d40bbb3091f102ca5f44d (diff)
downloadpackages_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.java4
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);
}
}