@@ -202,12 +202,12 @@ public class DBService {
               | 
            ||
| 202 | 202 | 
                db = dbHelper.getReadableDatabase();  | 
            
| 203 | 203 | 
                db.beginTransaction();  | 
            
| 204 | 204 | 
                                 c = db.rawQuery("select * from " + DBHelper.PHOTO_INFO_TABLE + " where "
               | 
            
| 205 | 
                - + DBHelper.PHOTO_INFO_COLUMNS.SESSION_ID + " = '" + sessionId + "'", null);  | 
            |
| 205 | 
                + + DBHelper.PHOTO_INFO_COLUMNS.SESSION_ID + " = '" + sessionId + "'"+" order by "+DBHelper.PHOTO_INFO_COLUMNS.CAPTURE_TIME+" desc limit 200", null);  | 
            |
| 206 | 206 | 
                                 while (c.moveToNext()) {
               | 
            
| 207 | 207 | 
                photoList.add(cursor2PhotoBean(c));  | 
            
| 208 | 208 | 
                }  | 
            
| 209 | 209 | 
                db.setTransactionSuccessful();  | 
            
| 210 | 
                -            } catch (Exception e) {
               | 
            |
| 210 | 
                +            } catch (Throwable e) {
               | 
            |
| 211 | 211 | 
                LogHelper.d(TAG, "dbservice getGroupInfoByGroupId error happen " + e);  | 
            
| 212 | 212 | 
                             } finally {
               | 
            
| 213 | 213 | 
                                 try {
               | 
            
                @@ -45,6 +45,9 @@ public class SessionPresenter implements SessionContract.Presenter, SessionInter  | 
            ||
| 45 | 45 | 
                LogHelper.d(TAG,"SessionPresenter start and found no old photos");  | 
            
| 46 | 46 | 
                sessionView.showEmptyView();  | 
            
| 47 | 47 | 
                         } else {
               | 
            
| 48 | 
                +            if(photoList.size()==200){
               | 
            |
| 49 | 
                + sessionView.showToast(App.getAppContext().getString(R.string.session_photo_limit));  | 
            |
| 50 | 
                + }  | 
            |
| 48 | 51 | 
                LogHelper.d(TAG,"SessionPresenter start and found old photos, size = "+photoList.size());  | 
            
| 49 | 52 | 
                sessionView.showPhotoRecyclerView();  | 
            
| 50 | 53 | 
                             for (PhotoBean photoBean : photoList) {
               | 
            
                @@ -138,4 +138,6 @@  | 
            ||
| 138 | 138 | 
                 | 
            
| 139 | 139 | 
                <string name="session_start_error">拍摄启动失败,请检查相机及连接线</string>  | 
            
| 140 | 140 | 
                 | 
            
| 141 | 
                + <string name="session_photo_limit">只显示最近200张照片,您可以到存储卡目录查看更多</string>  | 
            |
| 142 | 
                +  | 
            |
| 141 | 143 | 
                </resources>  |