mSafeModeEnabledVibePattern = getLongIntArray(mContext.getResources(),
com.android.internal.R.array.config_safeModeEnabledVibePattern);
<<<<<<< HEAD
// Note: the Configuration is not stable here, so we cannot load mStatusBarCanHide from
// config_statusBarCanHide because the latter depends on the screen size
// Controls rotation and the like.
initializeHdmiState();
=======
// watch for HDMI plug messages if the hdmi switch exists
if (new File("/sys/devices/virtual/switch/hdmi/state").exists()) {
mHDMIObserver.startObserving("DEVPATH=/devices/virtual/switch/hdmi");
}
mHdmiPlugged = !readHdmiState();
setHdmiPlugged(!mHdmiPlugged);
>>>>>>> 76450622f08b1d0d09df7f1ad8e52afe01090770
}
public void setInitialDisplaySize(int width, int height) { |