@ TargetApi ( Build . VERSION_CODES . GINGERBREAD ) public void apply ( ) { if ( editing == null ) { return ; } try { editing . apply ( ) ; } catch ( Exception ex ) { editing . commit ( ) ; // Fallback in case low api lever. } editing = null ; }
Call to apply changes .