/[zanavi_public1]/navit/navit/android/src/com/zoffcc/applications/zanavi/NavitRecentDestinationActivity.java
ZANavi

Diff of /navit/navit/android/src/com/zoffcc/applications/zanavi/NavitRecentDestinationActivity.java

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

Revision 30 Revision 31
59 my = this; 59 my = this;
60 60
61 context_items = new String[] { Navit.get_text("delete Destination"), Navit.get_text("rename Destination") }; // TRANS 61 context_items = new String[] { Navit.get_text("delete Destination"), Navit.get_text("rename Destination") }; // TRANS
62 62
63 listview_items.clear(); 63 listview_items.clear();
64
65 // crash reported on google play store
66 // gueard against nullpointer
67 if (Navit.map_points == null)
68 {
69 Navit.map_points = new ArrayList<Navit_Point_on_Map>();
70 }
71 // crash reported on google play store
72 // gueard against nullpointer
73
64 String[] t = new String[Navit.map_points.size()]; 74 String[] t = new String[Navit.map_points.size()];
65 try 75 try
66 { 76 {
67 int j = 0; 77 int j = 0;
68 for (j = Navit.map_points.size() - 1; j >= 0; j--) 78 for (j = Navit.map_points.size() - 1; j >= 0; j--)

Legend:
Removed from v.30  
changed lines
  Added in v.31

   
Visit the ZANavi Wiki