title: How to override/ modify a value or method from the sdk?
body: <p>I would like to modify the value of a int in the <code>Notification.class</code> in the SDK. Is this possible? Can this be achieved ?
   This is the int I'd like to modify, override:</p>
  
  <pre><code>public class Notification implements Parcelable {
  .......
      /**
   * Maximum length of CharSequences accepted by Builder and friends.
   *
   * &lt;p&gt;
   * Avoids spamming the system with overly large strings such as full e-mails.
   */
  private static final int MAX_CHARSEQUENCE_LENGTH = 10 * 1024;
  
  /**
  </code></pre>
  
  <p>...
  or alternatively, I'd like to override this method from the same class:</p>
  
  <pre><code>    /**
   * Make sure this CharSequence is safe to put into a bundle, which basically
   * means it had better not be some custom Parcelable implementation.
   * @hide
   */
  public static CharSequence safeCharSequence(CharSequence cs) {
      if (cs == null) return cs;
      if (cs.length() &gt; MAX_CHARSEQUENCE_LENGTH) {
  
          cs = cs.subSequence(0, MAX_CHARSEQUENCE_LENGTH);
      }
      if (cs instanceof Parcelable) {
          Log.e(TAG, "warning: " + cs.getClass().getCanonicalName()
                  + " instance is a custom Parcelable and not allowed in Notification");
          return cs.toString();
      }
      return removeTextSizeSpans(cs);
  }
  </code></pre>