diff options
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()); |