Skip to content

Commit

Permalink
A few comments to get to working version.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcao committed Dec 12, 2011
1 parent 826b7a4 commit 483be7f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/com/arcao/geocaching4locus/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
public class MainActivity extends Activity implements LocationListener, OnIntentMainFunction {
private static final String TAG = "Geocaching4Locus|MainActivity";

private static final Version LOCUS_MIN_VERSION = Version.parseVersion("1.10.1");
private static final Version LOCUS_MIN_VERSION = Version.parseVersion("1.14.6.6");

private Resources res;
private LocationManager locationManager;
Expand Down
2 changes: 2 additions & 0 deletions src/com/arcao/geocaching4locus/service/AbstractService.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ protected void onHandleIntent(Intent intent) {
try {
run(intent);
} catch (InvalidCredentialsException e) {
Log.e(TAG, e.getMessage(), e);
sendError(R.string.error_credentials, null, true);
} catch (Exception e) {
Log.e(TAG, e.getMessage(), e);
String message = e.getMessage();
if (message == null)
message = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ protected static User parseUser(JsonReader r) throws IOException {
findCount = r.nextInt();
} else if ("HideCount".equals(name)) {
hideCount = r.nextInt();
} else if ("HomeCoordinates".equals(name)) {
homeCoordinates = parseHomeCoordinates(r);
//} else if ("HomeCoordinates".equals(name)) {
// homeCoordinates = parseHomeCoordinates(r);
} else if ("Id".equals(name)) {
id = r.nextLong();
} else if ("IsAdmin".equals(name)) {
admin = r.nextBoolean();
} else if ("MemberType".equals(name)) {
memberType = parseMemberType(r);
//} else if ("MemberType".equals(name)) {
// memberType = parseMemberType(r);
} else if ("PublicGuid".equals(name)) {
publicGuid = r.nextString();
} else if ("UserName".equals(name)) {
Expand Down

0 comments on commit 483be7f

Please sign in to comment.