Skip to content

Commit 1205a92

Browse files
committed
fix mauron85#139 - Starting backgroundGeolocation just after configure failed
remove unused files
1 parent 318a066 commit 1205a92

File tree

9 files changed

+64
-349
lines changed

9 files changed

+64
-349
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
### [2.2.0.alfa.3] - 2016-08-10
4+
### Fixed
5+
- Android issue #139 - Starting backgroundGeolocation just after configure failed
6+
37
### [2.2.0.alfa.2] - 2016-08-10
48
### Fixed
59
- iOS issue #132 use Library as DB path

android/plugin/src/main/AndroidManifest.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@
4040
android:name="android.accounts.AccountAuthenticator"
4141
android:resource="@xml/authenticator" />
4242
</service>
43-
<provider
44-
android:name="com.marianhello.bgloc.data.LocationContentProvider"
45-
android:authorities="@string/content_authority"
46-
android:exported="false"
47-
android:syncable="true"/>
4843
</application>
4944

5045
</manifest>

android/plugin/src/main/java/com/marianhello/bgloc/LocationSampler.java

Lines changed: 0 additions & 53 deletions
This file was deleted.

android/plugin/src/main/java/com/marianhello/bgloc/LocationService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ public void handleLocation(BackgroundLocation location) {
333333
log.debug("New location {}", location.toString());
334334

335335
if (location.isBetterLocationThan(lastLocation) == false) {
336-
log.debug("Previous location: [{} acc={} time={}] is better than current",
336+
log.debug("Previous location: [{} acc={} t={}] is better than current",
337337
lastLocation.getProvider(), lastLocation.getAccuracy(), lastLocation.getTime());
338338
return;
339339
}

android/plugin/src/main/java/com/marianhello/bgloc/data/BackgroundLocation.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,11 @@ public String toString () {
666666
} else {
667667
s.append(" acc=???");
668668
}
669-
if (time == 0) s.append(" t=?!?");
669+
if (time == 0) {
670+
s.append(" t=?!?");
671+
} else {
672+
s.append(" t=").append(time);
673+
}
670674
if (elapsedRealtimeNanos == 0) {
671675
s.append(" et=?!?");
672676
} else {

android/plugin/src/main/java/com/marianhello/bgloc/data/LocationContentProvider.java

Lines changed: 0 additions & 213 deletions
This file was deleted.

android/plugin/src/main/java/com/marianhello/bgloc/data/LocationContract.java

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)