diff options
author | Craig Mautner <cmautner@google.com> | 2013-06-28 10:43:07 -0700 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2013-06-28 10:43:07 -0700 |
commit | f1f5054f7aed6c06657955e43a680ed54c463986 (patch) | |
tree | 6cfd72311655598f60c22ec0a9cccfec0bc4b11e /policy/src | |
parent | e7c58b6d7d761b93e785b0a399e5b00fdb82f4ce (diff) | |
download | frameworks_base-f1f5054f7aed6c06657955e43a680ed54c463986.zip frameworks_base-f1f5054f7aed6c06657955e43a680ed54c463986.tar.gz frameworks_base-f1f5054f7aed6c06657955e43a680ed54c463986.tar.bz2 |
More debug for 9404689.
Changing focus to PhoneWindow.
Change-Id: I75c2ce6b1a20729daf8d2b7f83b2a871e1a7e642
Diffstat (limited to 'policy/src')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindow.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java index a21b089..fad624a 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java @@ -58,6 +58,7 @@ import android.util.AndroidRuntimeException; import android.util.DisplayMetrics; import android.util.EventLog; import android.util.Log; +import android.util.Slog; import android.util.SparseArray; import android.util.TypedValue; import android.view.ActionMode; @@ -549,6 +550,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { // System.out.println("Open panel: isOpen=" + st.isOpen); // Already open, return + Slog.d(TAG, "openPanel: b9404689 entry, st=" + st + " decorView=" + st.decorView); if (st.isOpen || isDestroyed()) { return; } @@ -643,6 +645,8 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { } } + Slog.d(TAG, "openPanel: b9404689 setting isOpen true, st=" + st + " decorView=" + + st.decorView); st.isOpen = true; st.isHandled = false; @@ -691,9 +695,11 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { */ public final void closePanel(PanelFeatureState st, boolean doCallback) { // System.out.println("Close panel: isOpen=" + st.isOpen); + Slog.d(TAG, "closePanel: b9404689 entry, st=" + st + " decorView=" + st.decorView); if (doCallback && st.featureId == FEATURE_OPTIONS_PANEL && mActionBar != null && mActionBar.isOverflowMenuShowing()) { checkCloseActionMenu(st.menu); + Slog.d(TAG, "closePanel: b9404689 early return"); return; } @@ -1098,6 +1104,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { */ protected boolean initializePanelDecor(PanelFeatureState st) { st.decorView = new DecorView(getContext(), st.featureId); + Slog.d(TAG, "initializePanelDecor: b9404689 st=" + st + " decorView=" + st.decorView); st.gravity = Gravity.CENTER | Gravity.BOTTOM; st.setStyle(getContext()); |