am 8f301e66: Merge "Add debug for b/7094175." into jb-mr1-dev
* commit '8f301e666873e4a9feaace38a0b184a5f3ce7003': Add debug for b/7094175.
This commit is contained in:
@@ -1554,6 +1554,8 @@ public class Resources {
|
||||
public static void updateSystemConfiguration(Configuration config, DisplayMetrics metrics,
|
||||
CompatibilityInfo compat) {
|
||||
if (mSystem != null) {
|
||||
// TODO: Remove once b/7094175 is fixed
|
||||
Slog.v(TAG, "updateSystemConfiguration: b/7094175 config=" + config);
|
||||
mSystem.updateConfiguration(config, metrics, compat);
|
||||
//Log.i(TAG, "Updated system resources " + mSystem
|
||||
// + ": " + mSystem.getConfiguration());
|
||||
|
||||
@@ -26,6 +26,7 @@ import android.graphics.PixelFormat;
|
||||
import android.os.IBinder;
|
||||
import android.os.SystemProperties;
|
||||
import android.util.Log;
|
||||
import android.util.Slog;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
@@ -165,6 +166,9 @@ public class KeyguardViewManager {
|
||||
if (mKeyguardView != null) {
|
||||
mKeyguardHost.removeView(mKeyguardView);
|
||||
}
|
||||
// TODO: Remove once b/7094175 is fixed
|
||||
Slog.d(TAG, "inflateKeyguardView: b/7094175 mContext.config="
|
||||
+ mContext.getResources().getConfiguration());
|
||||
final LayoutInflater inflater = LayoutInflater.from(mContext);
|
||||
View view = inflater.inflate(R.layout.keyguard_host_view, mKeyguardHost, true);
|
||||
mKeyguardView = (KeyguardHostView) view.findViewById(R.id.keyguard_host_view);
|
||||
|
||||
Reference in New Issue
Block a user