Commit 849e84f55105d41751a32fde9ff861ad6474f149
Merge branch 'master' of bj.gitlab.cnlive.com:cnlive-team/ModulePedometer
Showing
1 changed file
with
20 additions
and
0 deletions
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/commonInfo/CommonInfo.java
| @@ -235,6 +235,26 @@ public class CommonInfo { | @@ -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 | * @param context | 259 | * @param context |
| 240 | */ | 260 | */ |