Skip to content

Commit a6efc96

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Changing debug for b/7094175." into jb-mr1-dev
2 parents ce75fef + c36c49e commit a6efc96

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

core/java/android/content/res/Resources.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,8 +1554,6 @@ private void clearDrawableCache(
15541554
public static void updateSystemConfiguration(Configuration config, DisplayMetrics metrics,
15551555
CompatibilityInfo compat) {
15561556
if (mSystem != null) {
1557-
// TODO: Remove once b/7094175 is fixed
1558-
Slog.v(TAG, "updateSystemConfiguration: b/7094175 config=" + config);
15591557
mSystem.updateConfiguration(config, metrics, compat);
15601558
//Log.i(TAG, "Updated system resources " + mSystem
15611559
// + ": " + mSystem.getConfiguration());

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

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

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

27542757
win.mEnforceSizeCompat = (win.mAttrs.flags & FLAG_COMPATIBLE_WINDOW) != 0;
@@ -9255,7 +9258,9 @@ private final void performLayoutAndPlaceSurfacesLockedInner(boolean recoveringMe
92559258
"Reporting new frame to " + win + ": " + win.mCompatFrame);
92569259
int diff = 0;
92579260
boolean configChanged = win.isConfigChanged();
9258-
if ((DEBUG_RESIZE || DEBUG_ORIENTATION || DEBUG_CONFIGURATION)
9261+
if ((DEBUG_RESIZE || DEBUG_ORIENTATION || DEBUG_CONFIGURATION
9262+
// TODO: Remove once b/7094175 is fixed
9263+
|| ((String)win.mAttrs.getTitle()).contains("Keyguard"))
92599264
&& configChanged) {
92609265
Slog.i(TAG, "Sending new config to window " + win + ": "
92619266
+ winAnimator.mSurfaceW + "x" + winAnimator.mSurfaceH

0 commit comments

Comments
 (0)