Skip to content

Commit 8f301e6

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Add debug for b/7094175." into jb-mr1-dev
2 parents a1c4663 + 0cbfcff commit 8f301e6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,6 +1554,8 @@ 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);
15571559
mSystem.updateConfiguration(config, metrics, compat);
15581560
//Log.i(TAG, "Updated system resources " + mSystem
15591561
// + ": " + mSystem.getConfiguration());

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import android.os.IBinder;
2727
import android.os.SystemProperties;
2828
import android.util.Log;
29+
import android.util.Slog;
2930
import android.view.LayoutInflater;
3031
import android.view.View;
3132
import android.view.ViewGroup;
@@ -165,6 +166,9 @@ private void inflateKeyguardView() {
165166
if (mKeyguardView != null) {
166167
mKeyguardHost.removeView(mKeyguardView);
167168
}
169+
// TODO: Remove once b/7094175 is fixed
170+
Slog.d(TAG, "inflateKeyguardView: b/7094175 mContext.config="
171+
+ mContext.getResources().getConfiguration());
168172
final LayoutInflater inflater = LayoutInflater.from(mContext);
169173
View view = inflater.inflate(R.layout.keyguard_host_view, mKeyguardHost, true);
170174
mKeyguardView = (KeyguardHostView) view.findViewById(R.id.keyguard_host_view);

0 commit comments

Comments
 (0)