I understand services and such are being clamped down on, so my receiver has stopped working in Android Oreo.
I have this code starting the service -
create your intent than pass in method
sendImplicitBroadcast(this,new Intent(IntentActions.ACTION_APP_CREATE));
Static Method
public static void sendImplicitBroadcast(Context ctxt, Intent i) {
PackageManager pm=ctxt.getPackageManager();
List matches=pm.queryBroadcastReceivers(i, 0);
for (ResolveInfo resolveInfo : matches) {
Intent explicit=new Intent(i);
ComponentName cn=
new ComponentName(resolveInfo.activityInfo.applicationInfo.packageName,
resolveInfo.activityInfo.name);
explicit.setComponent(cn);
ctxt.sendBroadcast(explicit);
}
}