@Override protected void onConfigurationChanged(Configuration newConfig) { // TODO Auto-generated method stub super.onConfigurationChanged(newConfig); int orientation = getResources().getConfiguration().orientation; mModuleSwitcherView.setmConfiguration(orientation); }
// SPRD: CameraActivity use this method public void setModuleSwitcherView(ModuleSwitcherView v) { mModuleSwitcherView = v; int orientation = getResources().getConfiguration().orientation; // SPRD: reset the screen configuration mModuleSwitcherView.setmConfiguration(orientation); }