/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/StationList.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/StationList.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1220 by torben, Sun Jan 30 21:14:19 2011 UTC revision 1245 by torben, Wed Mar 30 17:26:50 2011 UTC
# Line 178  public class StationList extends ListAct Line 178  public class StationList extends ListAct
178          protected void onDestroy() {          protected void onDestroy() {
179                  super.onDestroy();                  super.onDestroy();
180                                    
181                    stationsFetched.removeMessages(0);
182                    
183                                    
184                  if (locationLookup != null) {                  if (locationLookup != null) {
185                          locationLookup.stopSearch();                          locationLookup.stopSearch();
# Line 459  public class StationList extends ListAct Line 461  public class StationList extends ListAct
461    
462    
463                          if (locationLookup.elapsedTime() >=  GPS_TIMEOUT_MS) {                          if (locationLookup.elapsedTime() >=  GPS_TIMEOUT_MS) {
464                                  try {                                  dismissDialog(DLG_PROGRESS);
465                                          dismissDialog(DLG_PROGRESS);  
                                 } catch (IllegalArgumentException ex) {  
                                         // I get  stacktraces that reports an exception is thrown here -  
                                         // but i can not recreate the situation that causes said exception  
                                         Log.e("TrainInfo", "Why the f*** is this exception thrown here ?? " + ex.getMessage() );  
                                 }  
466    
467                                  locationLookup.stopSearch();                                  locationLookup.stopSearch();
468    

Legend:
Removed from v.1220  
changed lines
  Added in v.1245

  ViewVC Help
Powered by ViewVC 1.1.20