Commit b02cb35a6c65e6fda80b4b92c54f82fcca92c287

Authored by 袁思汶
1 parent d8bb8092

注销获取唯一标识代码

moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/utils/BitmapUtil.java
... ... @@ -32,11 +32,11 @@ public class BitmapUtil {
32 32 * @param context
33 33 * @return
34 34 */
35   - public static String getImei(Context context) {
  35 + /* public static String getImei(Context context) {
36 36 TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService(context.TELEPHONY_SERVICE);
37 37 @SuppressLint("MissingPermission") String imei = telephonyManager.getDeviceId();//报错不用管,可以正常运行(手机型号+串号)
38 38 return imei;
39   - }
  39 + }*/
40 40  
41 41 /**
42 42 * 根据手机的分辨率从 dp 的单位 转成为 px(像素)
... ...
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/utils/CommonUtil.java
... ... @@ -196,7 +196,7 @@ public class CommonUtil {
196 196 *
197 197 * @return
198 198 */
199   - public static String getImei(Context context) {
  199 + /*public static String getImei(Context context) {
200 200 String imei;
201 201 try {
202 202 imei = ((TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE)).getDeviceId();
... ... @@ -204,6 +204,6 @@ public class CommonUtil {
204 204 imei = "myTrace";
205 205 }
206 206 return imei;
207   - }
  207 + }*/
208 208  
209 209 }
... ...