Public API: enable other applications to start recordings.

Fixes #671.
This commit is contained in:
Dennis Guse
2022-01-23 19:57:17 +01:00
parent 8ae4d75708
commit 838f3dc622
10 changed files with 155 additions and 20 deletions
@@ -282,7 +282,6 @@ public class TrackRecordingService extends Service implements TrackPointCreator.
showNotification(true);
}
@VisibleForTesting(otherwise = VisibleForTesting.PACKAGE_PRIVATE)
public void endCurrentTrack() {
if (!isRecording()) {
Log.w(TAG, "Ignore endCurrentTrack. Not recording.");