header">
Quellcode durchsuchen
删除无用log
chengzhenyu vor 10 Jahren
Ursprung
Commit
c2bb024fe6
2 geänderte Dateien mit 3 neuen Zeilen und 8 gelöschten Zeilen
  1. 0 3
      app/src/main/java/ai/pai/lensman/main/MainActivity.java
  2. 3 5
      app/src/main/java/ai/pai/lensman/splash/SplashPresenter.java

+ 0 - 3
app/src/main/java/ai/pai/lensman/main/MainActivity.java

@@ -10,8 +10,6 @@ import android.widget.ImageView;
10 10
 import android.widget.TextView;
11 11
 import android.widget.Toast;
12 12
 
13
-import com.android.common.utils.LogHelper;
14
-
15 13
 import java.util.ArrayList;
16 14
 
17 15
 import ai.pai.lensman.R;
@@ -101,7 +99,6 @@ public class MainActivity extends BaseActivity implements MainContract.View {
101 99
 
102 100
     @Override
103 101
     public void updateSessionUploadViewAt(int position) {
104
-        LogHelper.d("czy","updateSessionUploadViewAt "+position);
105 102
         adapter.notifyItemChanged(position);
106 103
     }
107 104
 

+ 3 - 5
app/src/main/java/ai/pai/lensman/splash/SplashPresenter.java

@@ -3,6 +3,7 @@ package ai.pai.lensman.splash;
3 3
 import android.content.Context;
4 4
 import android.content.Intent;
5 5
 import android.os.Handler;
6
+import android.os.Looper;
6 7
 import android.text.TextUtils;
7 8
 
8 9
 import com.android.common.utils.NetworkUtil;
@@ -13,9 +14,6 @@ import java.util.Date;
13 14
 import ai.pai.lensman.db.Preferences;
14 15
 import ai.pai.lensman.service.UpgradeService;
15 16
 
16
-/**
17
- * Created by chengzhenyu on 2016/8/14.
18
- */
19 17
 public class SplashPresenter implements SplashContract.Presenter {
20 18
 
21 19
     private Context context;
@@ -26,7 +24,7 @@ public class SplashPresenter implements SplashContract.Presenter {
26 24
     public SplashPresenter(Context context, SplashContract.View view){
27 25
         this.view = view;
28 26
         this.context = context;
29
-        mHandler = new Handler();
27
+        mHandler = new Handler(Looper.getMainLooper());
30 28
     }
31 29
 
32 30
     @Override
@@ -50,7 +48,7 @@ public class SplashPresenter implements SplashContract.Presenter {
50 48
         if(Preferences.getInstance().getLastRunDate().equals(curDate)){
51 49
             return;
52 50
         }
53
-//        checkUpdate();
51
+        checkUpdate();
54 52
         Preferences.getInstance().setLastRunDate(curDate);
55 53
     }
56 54
 

kodo - Gogs: Go Git Service

説明なし

Brightcells: f2fc73685d Update package django_xxx 8 年 前
..
algorithm f38d3bf980 Caesar Alg 8 年 前
error 2bac598d19 Clerk Sale Submit 8 年 前
redis f2fc73685d Update package django_xxx 8 年 前
sql f3cf68f957 Add PAI2_HOME_WX_API for request.weixin 9 年 前
__init__.py 52ce35cbfc add api uuid_init/uuid 11 年 前
admin_utils.py 9e4ac4fd3b Add admin_status for GroupUserInfo 9 年 前
disk_utils.py af2b3f483f change download.html to be generated from download.tmpl.html 10 年 前
group_photo_utils.py 0e7b5eb1af Update order_by of group session photos 9 年 前
message_utils.py 21b4a5403a add api lensman_brief_api 10 年 前
original_CGzC_10a50000c8811190.jpg 680f424408 Update water mark 9 年 前
original_CGzC_10a50000c8811190副本.jpg 4a8b4f8819 add watermark 11 年 前
paiai_96_96.png 4a8b4f8819 add watermark 11 年 前
paiai_water_mark.png 680f424408 Update water mark 9 年 前
price_utils.py 24e345a32f Add price func get_group_photo_price 9 年 前
qiniucdn.py ac03876ce1 qiniu_file_url 9 年 前
storage_qiniu_utils.py f2fc73685d Update package django_xxx 8 年 前
storage_utils.py f2fc73685d Update package django_xxx 8 年 前
thumbnail_utils.py 5c9e21b29b add Only Once Function statistic_thumbnail_size to statistic thumbnail size 10 年 前
time_utils.py 511533855d Change oauth to use http 9 年 前
url_utils.py 135c21b40c from models_ext import BaseModelMixin, upload_file_url, upload_path 8 年 前
version_utils.py 13816e8774 Fix Bug: REQUEST 8 年 前
watermark_utils.py 5411626ebe Change watermark position 9 年 前
wx_utils.py 32a7d9ffa0 Update wx relative 9 年 前