summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/ViewRootImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/view/ViewRootImpl.java')
-rw-r--r--core/java/android/view/ViewRootImpl.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java
index 93c6d6e..50dbd5f 100644
--- a/core/java/android/view/ViewRootImpl.java
+++ b/core/java/android/view/ViewRootImpl.java
@@ -422,6 +422,8 @@ public final class ViewRootImpl implements ViewParent,
synchronized (this) {
if (mView == null) {
mView = view;
+ Slog.d(TAG, "setView: b9404689 setting mView to " + view + " mAdded=" + mAdded
+ + " Callers=" + Debug.getCallers(4));
mViewLayoutDirectionInitial = mView.getRawLayoutDirection();
mFallbackEventHandler.setView(view);
mWindowAttributes.copyFrom(attrs);
@@ -478,6 +480,8 @@ public final class ViewRootImpl implements ViewParent,
= panelParentView.getApplicationWindowToken();
}
mAdded = true;
+ Slog.d(TAG, "setView: b9404689 setting mAdded=true mView=" + mView
+ + " Callers=" + Debug.getCallers(4));
int res; /* = WindowManagerImpl.ADD_OKAY; */
// Schedule the first layout -before- adding to the window
@@ -503,6 +507,8 @@ public final class ViewRootImpl implements ViewParent,
mFallbackEventHandler.setView(null);
unscheduleTraversals();
setAccessibilityFocus(null, null);
+ Slog.d(TAG, "setView: b9404689 threw exception e=" + e
+ + " Callers=" + Debug.getCallers(4));
throw new RuntimeException("Adding window failed", e);
} finally {
if (restore) {
@@ -5158,11 +5164,14 @@ public final class ViewRootImpl implements ViewParent,
return;
}
mRemoved = true;
+ Slog.d(TAG, "doDie: b9404689 mAdded==true mView=" + mView
+ + " Callers=" + Debug.getCallers(4));
if (mAdded) {
dispatchDetachedFromWindow();
}
if (mAdded && !mFirst) {
+ Slog.d(TAG, "doDie: b9404689 mAdded && !mFirst");
invalidateDisplayLists();
destroyHardwareRenderer();
@@ -5186,6 +5195,8 @@ public final class ViewRootImpl implements ViewParent,
}
}
+ Slog.d(TAG, "doDie: b9404689 setting mAdded=false mView=" + mView
+ + " Callers=" + Debug.getCallers(4));
mAdded = false;
}
WindowManagerGlobal.getInstance().doRemoveView(this);