protected void checkContentRestriction() throws ContentRestrictionException { ContentRestriction cr = ContentRestrictionFactory.getContentRestriction(); cr.checkAudioContentType(mContentType); }
public void checkMessageSize(int increaseSize) throws ContentRestrictionException { ContentRestriction cr = ContentRestrictionFactory.getContentRestriction(); cr.checkMessageSize(mCurrentMessageSize, increaseSize, mContentResolver); }