Skip to content

Commit

Permalink
Update HomeWidgetBackgroundService.kt (ABausG#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
roly151 authored Dec 23, 2022
1 parent 13be0a6 commit 0f8fe96
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ class HomeWidgetBackgroundService : MethodChannel.MethodCallHandler, JobIntentSe
Log.e(TAG, "No callbackHandle saved. Did you call HomeWidget.registerBackgroundCallback?")
}

engine = FlutterEngine(context)

val callbackInfo = FlutterCallbackInformation.lookupCallbackInformation(callbackHandle)

engine = FlutterEngine(context)


val callback = DartExecutor.DartCallback(
context.assets,
Expand Down Expand Up @@ -86,4 +88,4 @@ class HomeWidgetBackgroundService : MethodChannel.MethodCallHandler, JobIntentSe
}
}
}
}
}

0 comments on commit 0f8fe96

Please sign in to comment.