Minor bug fixes; Documented PodsService

This commit is contained in:
adolfintel
2019-03-14 09:47:17 +01:00
parent af673910b0
commit 2b66a73874
5 changed files with 76 additions and 29 deletions
@@ -3,10 +3,15 @@ package com.dosse.airpods;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
/**
* A simple starter class that starts the service when the device is booted, or after an update
*/
public class Starter extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
Log.d("PODS","BOOT COMPLETE!!!!!!!!");
context.startService(new Intent(context,PodsService.class));
}
}