mirror of
https://github.com/adolfintel/OpenPods.git
synced 2026-09-15 07:16:10 -04:00
Fixed a bug where the app thought location was disabled but was actually set to device only; Fixed rare bug where the app wouldn't start on boot; Lowered Target SDK to 23 so the app cannot be uploaded to Google Play; Bumped version to Alpha 9
This commit is contained in:
@@ -3,6 +3,7 @@ package com.dosse.airpods;
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Build;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
@@ -11,6 +12,10 @@ import android.util.Log;
|
||||
public class Starter extends BroadcastReceiver {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
context.startService(new Intent(context,PodsService.class));
|
||||
startPodsService(context);
|
||||
}
|
||||
|
||||
public static final void startPodsService(Context context){
|
||||
context.startService(new Intent(context, PodsService.class));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user