@Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   if (AppConstants.ACTION_EDIT_LABEL == requestCode && data != null) {
     TagItem tagItem = (TagItem) data.getExtras().getSerializable(AppConstants.EDIT_TAG);
     if (StringUtils.isNotEmpty(tagItem.getName())) {
       addLable(tagItem);
     }
   }
 }
    @Override
    protected void onPostExecute(String fileName) {
      super.onPostExecute(fileName);
      dismissProgressDialog();
      if (StringUtils.isEmpty(fileName)) {
        return;
      }

      // 保存标签信息
      List<TagItem> tagInfoList = new ArrayList<>();
      for (LabelView label : labels) {
        tagInfoList.add(label.getTagInfo());
      }

      // 将图片信息通过EventBus发送到MainActivity

      if (feedItem != null) {
        feedItem.setTagList(tagInfoList);
      } else {
        feedItem = new FeedItem(tagInfoList, fileName);
      }
      EventBus.getDefault().post(feedItem);
      CameraManager.getInst().close();
    }