Commit 849e84f55105d41751a32fde9ff861ad6474f149

Authored by 韩亚云
2 parents 6a826fe1 92bf6c51

Merge branch 'master' of bj.gitlab.cnlive.com:cnlive-team/ModulePedometer

moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/commonInfo/CommonInfo.java
... ... @@ -235,6 +235,26 @@ public class CommonInfo {
235 235  
236 236 }
237 237  
  238 + /**
  239 + * 设置用户头像
  240 + *
  241 + * @param context
  242 + */
  243 + public static void setUserFaceUrl(Context context, String faceUrl) {
  244 + MySpHelper.getInstance(context, Context.MODE_MULTI_PROCESS).putString("RunUserFaceUrl", faceUrl);
  245 +
  246 + }
  247 +
  248 + /**
  249 + * 获取用户头像
  250 + *
  251 + * @param context
  252 + */
  253 + public static void getUserFaceUrl(Context context) {
  254 + MySpHelper.getInstance(context, Context.MODE_MULTI_PROCESS).getString("RunUserFaceUrl", "");
  255 +
  256 + }
  257 +
238 258 /*重置
239 259 * @param context
240 260 */
... ...