question: private boolean syncMediaSelectedAsOptions ( ) { switch ( mMediaType ) { case MediaItem . PHOTO : if ( ! mMediaOptions . canSelectMultiPhoto ( ) ) { mMediaListSelected . clear ( ) ; return true ; } break ; case MediaItem . VIDEO : if ( ! mMediaOptions . canSelectMultiVideo ( ) ) { mMediaListSelected . clear ( ) ; return true ; } break ; default : break ; } return false ; }
target:  Whether clear or not media selected as options.