(final File file, final SessionListener callback)
| 262 | } |
| 263 | |
| 264 | protected void open(final File file, final SessionListener callback) { |
| 265 | Thread t = |
| 266 | new Thread( |
| 267 | new Runnable() { |
| 268 | @Override |
| 269 | public void run() { |
| 270 | Exception thrownException = null; |
| 271 | try { |
| 272 | open(file.getAbsolutePath()); |
| 273 | } catch (Exception e) { |
| 274 | thrownException = e; |
| 275 | } |
| 276 | if (callback != null) { |
| 277 | callback.sessionOpened(file, thrownException); |
| 278 | } |
| 279 | } |
| 280 | }); |
| 281 | t.setPriority(Thread.NORM_PRIORITY - 2); |
| 282 | t.start(); |
| 283 | } |
| 284 | |
| 285 | protected void open(final String sessionFile, final SessionListener callback) { |
| 286 | Thread t = |
no test coverage detected