@Override
 protected void onNewIntent(Intent intent) {
   super.onNewIntent(intent);
   String action = intent.getAction();
   if (IntentString.EM.ACTION_CLICK.equals(action)) {
     String type = intent.getStringExtra(IntentString.Push.TYPE);
     if (IntentString.EM.TYPE_CLICK.equals(type)) {
       checkIndex(INDEX_INFO);
     }
   } else if (JPushInterface.ACTION_NOTIFICATION_OPENED.equals(action)) {
     String type = intent.getStringExtra(IntentString.Push.TYPE);
     if (IntentString.Push.TYPE_HAS_MATCH.equals(type)) {
       checkIndex(INDEX_FIND);
     } else if (IntentString.Push.TYPE_GIRL_LIKE_YOU.equals(type)) {
       checkIndex(INDEX_FIND);
     } else if (IntentString.Push.TYPE_NEW_FRIEND.equals(type)) {
       checkIndex(INDEX_FRIEND);
     }
   }
 }