Skip to content

Commit f1f3b49

Browse files
author
Craig Mautner
committed
Remove debugging statements before final ROM.
Change-Id: I18afd1a4c4f8f945308edc9b3af48b8c8adb3b9e
1 parent c0c0c0e commit f1f3b49

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,6 @@ 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());
207204
final LayoutInflater inflater = LayoutInflater.from(mContext);
208205
View view = inflater.inflate(R.layout.keyguard_host_view, mKeyguardHost, true);
209206
mKeyguardView = (KeyguardHostView) view.findViewById(R.id.keyguard_host_view);

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2749,10 +2749,7 @@ public int relayoutWindow(Session session, IWindow client, int seq,
27492749
}
27502750
}
27512751

2752-
if (DEBUG_LAYOUT
2753-
// TODO: Remove once b/7094175 is fixed
2754-
|| ((String)win.mAttrs.getTitle()).contains("Keyguard")
2755-
) Slog.v(TAG, "Relayout " + win + ": viewVisibility=" + viewVisibility
2752+
if (DEBUG_LAYOUT) Slog.v(TAG, "Relayout " + win + ": viewVisibility=" + viewVisibility
27562753
+ " " + requestedWidth + "x" + requestedHeight + " " + win.mAttrs);
27572754

27582755
win.mEnforceSizeCompat = (win.mAttrs.flags & FLAG_COMPATIBLE_WINDOW) != 0;
@@ -9271,9 +9268,7 @@ private final void performLayoutAndPlaceSurfacesLockedInner(boolean recoveringMe
92719268
"Reporting new frame to " + win + ": " + win.mCompatFrame);
92729269
int diff = 0;
92739270
boolean configChanged = win.isConfigChanged();
9274-
if ((DEBUG_RESIZE || DEBUG_ORIENTATION || DEBUG_CONFIGURATION
9275-
// TODO: Remove once b/7094175 is fixed
9276-
|| ((String)win.mAttrs.getTitle()).contains("Keyguard"))
9271+
if ((DEBUG_RESIZE || DEBUG_ORIENTATION || DEBUG_CONFIGURATION)
92779272
&& configChanged) {
92789273
Slog.i(TAG, "Sending new config to window " + win + ": "
92799274
+ winAnimator.mSurfaceW + "x" + winAnimator.mSurfaceH

0 commit comments

Comments
 (0)