Skip to content

Commit

Permalink
Fixed possible npe when initializing a BaseSpatialItem object.
Browse files Browse the repository at this point in the history
  • Loading branch information
m4gr3d committed Feb 6, 2015
1 parent fb5b031 commit bb4d246
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions AidlLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 21
versionCode 20043
versionName '2.0.43'
versionCode 20044
versionName '2.0.44'
}

defaultPublishConfig "release"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected BaseSpatialItem(MissionItemType type) {

protected BaseSpatialItem(BaseSpatialItem copy){
this(copy.getType());
coordinate = new LatLongAlt(copy.coordinate);
coordinate = copy.coordinate == null ? null : new LatLongAlt(copy.coordinate);
}

@Override
Expand Down
4 changes: 2 additions & 2 deletions ClientLib/mobile/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'

ext {
PUBLISH_ARTIFACT_ID = '3dr-services-lib'
PUBLISH_VERSION = '2.2.6'
PUBLISH_VERSION = '2.2.7'
PROJECT_DESCRIPTION = "3DR Services Client Library"
PROJECT_LABELS = ['3DR', '3DR Services', 'DroneAPI', 'Android']
PROJECT_LICENSES = ['Apache-2.0']
Expand All @@ -15,7 +15,7 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 21
versionCode 20206
versionCode 20207
versionName PUBLISH_VERSION
}

Expand Down
Binary file modified ClientLib/mobile/libs/AidlLib.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion ServiceApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ android {
applicationId 'org.droidplanner.services.android'
minSdkVersion 14
targetSdkVersion 21
versionCode 10202
versionCode 10203
versionName getGitVersion()
}

Expand Down

0 comments on commit bb4d246

Please sign in to comment.