void function ( int arg0 ) { if ( mService != null ) { try { mService . setNightMode ( arg0 ) ; } catch ( RemoteException loc0 ) { Log . loc0 ( TAG , "srini_string" , loc0 ) ; } } }
sets the night mode . changes to the night mode are only effective when the car or desk mode is enabled on a device . the mode can be one of : #mode_night_no - sets the device into notnight mode . #mode_night_yes - sets the device into night mode . #mode_night_auto - automatic night/notnight switching depending on the location and certain other sensors . 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 int ENABLE_CAR_MODE_ALLOW_SLEEP 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 int getCurrentModeType concode_elem_sep void disableCarMode concode_elem_sep int getNightMode concode_elem_sep void enableCarMode