Skip to content

Commit 0a75ed0

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Revert "Remove debugging statements before final ROM."" into jb-mr1-dev
2 parents f864401 + 64ecc0e commit 0a75ed0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ private void inflateKeyguardView(Bundle options) {
201201
if (v != null) {
202202
mKeyguardHost.removeView(v);
203203
}
204+
// TODO: Remove once b/7094175 is fixed
205+
Slog.d(TAG, "inflateKeyguardView: b/7094175 mContext.config="
206+
+ mContext.getResources().getConfiguration());
204207
final LayoutInflater inflater = LayoutInflater.from(mContext);
205208
View view = inflater.inflate(R.layout.keyguard_host_view, mKeyguardHost, true);
206209
mKeyguardView = (KeyguardHostView) view.findViewById(R.id.keyguard_host_view);

services/java/com/android/server/wm/WindowManagerService.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2752,7 +2752,10 @@ public int relayoutWindow(Session session, IWindow client, int seq,
27522752
}
27532753
}
27542754

2755-
if (DEBUG_LAYOUT) Slog.v(TAG, "Relayout " + win + ": viewVisibility=" + viewVisibility
2755+
if (DEBUG_LAYOUT
2756+
// TODO: Remove once b/7094175 is fixed
2757+
|| ((String)win.mAttrs.getTitle()).contains("Keyguard")
2758+
) Slog.v(TAG, "Relayout " + win + ": viewVisibility=" + viewVisibility
27562759
+ " " + requestedWidth + "x" + requestedHeight + " " + win.mAttrs);
27572760

27582761
win.mEnforceSizeCompat = (win.mAttrs.flags & FLAG_COMPATIBLE_WINDOW) != 0;
@@ -9272,7 +9275,9 @@ private final void performLayoutAndPlaceSurfacesLockedInner(boolean recoveringMe
92729275
"Reporting new frame to " + win + ": " + win.mCompatFrame);
92739276
int diff = 0;
92749277
boolean configChanged = win.isConfigChanged();
9275-
if ((DEBUG_RESIZE || DEBUG_ORIENTATION || DEBUG_CONFIGURATION)
9278+
if ((DEBUG_RESIZE || DEBUG_ORIENTATION || DEBUG_CONFIGURATION
9279+
// TODO: Remove once b/7094175 is fixed
9280+
|| ((String)win.mAttrs.getTitle()).contains("Keyguard"))
92769281
&& configChanged) {
92779282
Slog.i(TAG, "Sending new config to window " + win + ": "
92789283
+ winAnimator.mSurfaceW + "x" + winAnimator.mSurfaceH

0 commit comments

Comments
 (0)