TrackRecordingServiceConnection: always bind (and start) the TrackRecordingService.

Seemed to be a memory optimization.
This commit is contained in:
Dennis Guse
2020-07-20 20:10:16 +02:00
parent c02b8fab53
commit 97c46183c3
2 changed files with 35 additions and 68 deletions
@@ -18,7 +18,7 @@ public class ServiceUtils {
*
* @param context the current context
*/
@Deprecated
@Deprecated //TODO This method must be removed as the service will nowadays always be started
public static boolean isTrackRecordingServiceRunning(Context context) {
ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
if (activityManager == null) {