diff --git a/phoneClients/android/.idea/workspace.xml b/phoneClients/android/.idea/workspace.xml index 5688b1f..93aa7ac 100644 --- a/phoneClients/android/.idea/workspace.xml +++ b/phoneClients/android/.idea/workspace.xml @@ -41,7 +41,8 @@ - + + @@ -107,11 +108,12 @@ - - + + - - + + + @@ -120,11 +122,9 @@ - - - - - + + + @@ -132,7 +132,7 @@ - + @@ -142,8 +142,8 @@ - - + + @@ -957,10 +957,10 @@ @@ -1452,7 +1452,7 @@ - + @@ -1535,8 +1535,9 @@ - - + + + @@ -1553,8 +1554,9 @@ - - + + + @@ -1564,8 +1566,9 @@ - - + + + @@ -1582,8 +1585,9 @@ - - + + + @@ -1607,8 +1611,9 @@ - - + + + @@ -1668,8 +1673,9 @@ - - + + + @@ -1691,8 +1697,9 @@ - - + + + @@ -1714,8 +1721,9 @@ - - + + + @@ -1737,8 +1745,9 @@ - - + + + @@ -1930,38 +1939,37 @@ + + + + + + + + - - + + - - + + + - - - - - - - - - - - - + + - + diff --git a/phoneClients/android/app/src/main/java/com/websmithing/gpstracker/GpsTrackerActivity.java b/phoneClients/android/app/src/main/java/com/websmithing/gpstracker/GpsTrackerActivity.java index 3b018d4..703f14c 100644 --- a/phoneClients/android/app/src/main/java/com/websmithing/gpstracker/GpsTrackerActivity.java +++ b/phoneClients/android/app/src/main/java/com/websmithing/gpstracker/GpsTrackerActivity.java @@ -89,7 +89,7 @@ break; } - editor.commit(); + editor.apply(); } private void startAlarmManager() { @@ -147,7 +147,7 @@ editor.putString("sessionID", UUID.randomUUID().toString()); } - editor.commit(); + editor.apply(); setTrackingButtonState(); } @@ -171,7 +171,7 @@ editor.putString("userName", txtUserName.getText().toString().trim()); editor.putString("defaultUploadWebsite", txtWebsite.getText().toString().trim()); - editor.commit(); + editor.apply(); return true; }