huyuguo 4 ans auparavant
Parent
commit
631bb6a0c8

+ 1 - 1
app/build.gradle

@ -230,5 +230,5 @@ dependencies {
230 230
    implementation files('libs/bugly_crash_release_3.2.2.jar')
231 231
    implementation "androidx.camera:camera-camera2:1.0.0-beta03"
232 232
    implementation "androidx.camera:camera-core:1.0.0-beta03"
233
    implementation 'com.github.chrisbanes:PhotoView:2.3.0'
233
//    implementation 'com.github.chrisbanes:PhotoView:2.3.0'
234 234
}

+ 0 - 11
app/proguard-rules.pro

@ -78,17 +78,6 @@
78 78
  -keepclasseswithmembernames class * { @butterknife.* <methods>;}
79 79
#butterknife混淆结束
80 80
81
-keep class cn.sharesdk.**{*;}
82
-keep class com.sina.**{*;}
83
-keep class **.R$* {*;}
84
-keep class **.R{*;}
85
-keep class com.mob.**{*;}
86
-keep class m.framework.**{*;}
87
-dontwarn cn.sharesdk.**
88
-dontwarn com.sina.**
89
-dontwarn com.mob.**
90
-dontwarn **.R$*
91
92 81
# greenDAO混淆开始
93 82
-keepclassmembers class * extends org.greenrobot.greendao.AbstractDao {
94 83
public static java.lang.String TABLENAME;

+ 8 - 2
app/src/main/java/com/electric/chargingpile/activity/MainMapActivity.java

@ -1973,9 +1973,15 @@ public class MainMapActivity extends Activity implements LocationSource, AMapLoc
1973 1973
                    long mub = db.replace("zhan_list", null, cv);
1974 1974
                    if (mub > 0) {
1975 1975
                        ProfileManager.getInstance().setDataUptime(getApplicationContext(), bean.getUptime());
1976
//                        LogUtils.e("添加成功"+ProfileManager.getInstance().getDataUptime(getApplicationContext()));
1976
                        if (bean.getId().equals("10005111125822") ) {
1977
                            LogUtils.e( "xxxxxxxxxxxxxxxxxxxxxxxxxx" + bean.getId());
1978
                        }
1979
                        if (i == list.size() -1) {
1980
                            LogUtils.e( "uptime = " + bean.getUptime());
1981
                        }
1982
//                        LogUtils.e("添加成功: id = " + bean.getId() + ", uptime = " + ProfileManager.getInstance().getDataUptime(getApplicationContext()));
1977 1983
                    } else {
1978
//                        LogUtils.e( "添加失败---" + bean.getId());
1984
                        LogUtils.e( "添加失败---" + bean.getId());
1979 1985
                    }
1980 1986
                }
1981 1987
                db.setTransactionSuccessful();//调用此方法会在执行到endTransaction() 时提交当前事务,如果不调用此方法会回滚事务