/** {@inheritDoc} */ @Override protected void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); if (LockPatternKeyguardView.DEBUG_CONFIGURATION) { Log.w(TAG, "***** LOCK CONFIG CHANGING", new RuntimeException()); Log.v(TAG, "Cur orient=" + mCreationOrientation + ", new config=" + newConfig); } updateConfiguration(); }
@Override protected void onAttachedToWindow() { super.onAttachedToWindow(); if (LockPatternKeyguardView.DEBUG_CONFIGURATION) { Log.v(TAG, "***** LOCK ATTACHED TO WINDOW"); Log.v( TAG, "Cur orient=" + mCreationOrientation + ", new config=" + getResources().getConfiguration()); } updateConfiguration(); }