protected void startActivityIfNeed() {
   /** if alarm boot , do not start activity */
   boolean isKeyguardShow = mViewMediatorCallback.isShowingAndNotOccluded();
   boolean isAlarmBoot = AmigoKeyguardUtils.isAlarmBoot();
   boolean isAlarmOrIncallTop = AmigoKeyguardUtils.isAlarmOrInCallActivityTop(mContext);
   if (isKeyguardShow && !isAlarmBoot && !isAlarmOrIncallTop) {
     if (mActivitys.size() == 0) {
       Intent intent = new Intent(mContext, SkylightActivity.class);
       intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
       if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
         Bundle opts = ActivityOptions.makeCustomAnimation(mContext, 0, 0).toBundle();
         mContext.startActivity(intent, opts);
       } else {
         mContext.startActivity(intent);
       }
     }
   }
 }
 public boolean isShowingAndNotOccluded() {
   if (mViewMediatorCallback != null) {
     return mViewMediatorCallback.isShowingAndNotOccluded();
   }
   return false;
 }