private void initialize(Context context,String appIdentifier,String channelId,boolean ignoreDefaultHandler){
  if (context != null) {
    this.mIdentifier=Util.sanitizeAppIdentifier(appIdentifier);
    this.mChannelId=channelId;
    Constants.loadFromContext(context);
    if (mIdentifier == null) {
      this.mIdentifier=Constants.APP_PACKAGE;
    }
    WeakReference<Context> weakContext=new WeakReference<Context>(context);
    registerHandler(weakContext,ignoreDefaultHandler);
    makeSession();
  }
}

private void initialize ( Context context , String appIdentifier , String channelId , boolean ignoreDefaultHandler ) { if ( context != null ) { this . mIdentifier = Util . sanitizeAppIdentifier ( appIdentifier ) ; this . mChannelId = channelId ; Constants . loadFromContext ( context ) ; if ( mIdentifier == null ) { this . mIdentifier = Constants . APP_PACKAGE ; } WeakReference < Context > weakContext = new WeakReference < Context > ( context ) ; registerHandler ( weakContext , ignoreDefaultHandler ) ; makeSession ( ) ; } }
private method to initialize the crash manager . this method has an additional parameter to decide whether to register the exception handler at the end or not .
