int function ( ) { if ( mService != null ) { try { return mService . getCurrentModeType ( ) ; } catch ( RemoteException loc0 ) { Log . loc0 ( TAG , "srini_string" , loc0 ) ; } } return Configuration . UI_MODE_TYPE_NORMAL ; }
return the current running mode type . may be one of configuration #ui_mode_type_normal configuration.ui _ mode_type_normal , configuration #ui_mode_type_desk configuration.ui _ mode_type_desk , or configuration #ui_mode_type_car configuration.ui _ mode_type_car , or configuration #ui_mode_type_television configuration.ui _ mode_type_appliance . concode_field_sep int MODE_NIGHT_AUTO concode_elem_sep int MODE_NIGHT_NO concode_elem_sep String ACTION_ENTER_DESK_MODE concode_elem_sep IUiModeManager mService concode_elem_sep int MODE_NIGHT_YES concode_elem_sep String ACTION_ENTER_CAR_MODE concode_elem_sep String ACTION_EXIT_DESK_MODE concode_elem_sep String TAG concode_elem_sep String ACTION_EXIT_CAR_MODE concode_elem_sep int DISABLE_CAR_MODE_GO_HOME concode_elem_sep int ENABLE_CAR_MODE_GO_CAR_HOME concode_field_sep void disableCarMode concode_elem_sep int getNightMode concode_elem_sep void enableCarMode concode_elem_sep void setNightMode