/**
   * 恢复快捷条背景至默认
   *
   * @author yangbing
   */
  public boolean resetShortCutBg(String useThemeName, String targetThemeName, String resName) {
    ContentValues values = new ContentValues();
    values.put(ShortcutSettingTable.BGPICSWITCH, ConvertUtils.boolean2int(true));
    values.put(ShortcutSettingTable.CUSTOMBGPICSWITCH, ConvertUtils.boolean2int(false));
    values.put(ShortcutSettingTable.CUSTOM_PIC_OR_NOT, ConvertUtils.boolean2int(false));
    values.put(ShortcutSettingTable.BG_TARGET_THEME_NAME, targetThemeName);
    values.put(ShortcutSettingTable.BG_RESNAME, resName);

    mDataProvider.updateShortCutSetting(values, useThemeName);
    return true;
  }
  public boolean updateShortCutSettingEnable(boolean bool) {
    ContentValues values = new ContentValues();

    values.put(ShortcutSettingTable.ENABLE, ConvertUtils.boolean2int(bool));
    mDataProvider.updateShortCutSetting(values);
    return true;
  }
  public boolean updateShortCutSettingCustomBgSwitch(String themeName, boolean isOn) {
    ContentValues values = new ContentValues();
    values.put(ShortcutSettingTable.CUSTOMBGPICSWITCH, ConvertUtils.boolean2int(isOn));

    mDataProvider.updateShortCutSetting(values, themeName);
    return true;
  }
  public boolean updateIsCustomBg(boolean isCustomPic) {
    ContentValues values = new ContentValues();
    values.put(ShortcutSettingTable.CUSTOM_PIC_OR_NOT, ConvertUtils.boolean2int(isCustomPic));

    mDataProvider.updateShortCutSetting(
        values, ThemeManager.getInstance(mContext).getCurThemePackage());

    return true;
  }
  /**
   * 更新DOCK背景相关信息,针对主题修改
   *
   * @param useThemeName 修改设置针对的主题名
   * @param targetThemeName 选择图片是哪个主题包的资源
   * @param isCustomPic 是否用户自定义图片(裁减)
   * @param resName 如果非用户自定义图片,存为资源名;如果是用户自定义图片,存文件路径名
   */
  public boolean updateShortCutBG(
      String useThemeName, String targetThemeName, String resName, boolean isCustomPic) {
    ContentValues values = new ContentValues();

    values.put(ShortcutSettingTable.BG_TARGET_THEME_NAME, targetThemeName);
    values.put(ShortcutSettingTable.BG_RESNAME, resName);
    values.put(ShortcutSettingTable.CUSTOM_PIC_OR_NOT, ConvertUtils.boolean2int(isCustomPic));

    mDataProvider.updateShortCutSetting(values, useThemeName);
    return true;
  }