summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BaseUi.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2012-04-12 15:23:34 -0700
committerMichael Kolb <kolby@google.com>2012-04-12 15:25:12 -0700
commit1434cb0a7650fc008745e9096746eaeaca3630c5 (patch)
tree45136417912210fb34157f40d5f82b545a45967b /src/com/android/browser/BaseUi.java
parent80f750852edf43c6b09e5633f2c6ebdb2ed94a5b (diff)
downloadpackages_apps_Browser-1434cb0a7650fc008745e9096746eaeaca3630c5.zip
packages_apps_Browser-1434cb0a7650fc008745e9096746eaeaca3630c5.tar.gz
packages_apps_Browser-1434cb0a7650fc008745e9096746eaeaca3630c5.tar.bz2
Remove already attached warning
Change-Id: If50ad6d81e83c7dad5b044a65eac326022c5eb83
Diffstat (limited to 'src/com/android/browser/BaseUi.java')
-rw-r--r--src/com/android/browser/BaseUi.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java
index be38928..652f9d7 100644
--- a/src/com/android/browser/BaseUi.java
+++ b/src/com/android/browser/BaseUi.java
@@ -312,26 +312,16 @@ public abstract class BaseUi implements UI {
ViewGroup parent = (ViewGroup) mainView.getParent();
if (parent != wrapper) {
if (parent != null) {
- Log.w(LOGTAG, "mMainView already has a parent in"
- + " attachTabToContentView!");
parent.removeView(mainView);
}
wrapper.addView(mainView);
- } else {
- Log.w(LOGTAG, "mMainView is already attached to wrapper in"
- + " attachTabToContentView!");
}
parent = (ViewGroup) container.getParent();
if (parent != mContentView) {
if (parent != null) {
- Log.w(LOGTAG, "mContainer already has a parent in"
- + " attachTabToContentView!");
parent.removeView(container);
}
mContentView.addView(container, COVER_SCREEN_PARAMS);
- } else {
- Log.w(LOGTAG, "mContainer is already attached to content in"
- + " attachTabToContentView!");
}
mUiController.attachSubWindow(tab);
}