From 14ceed7f524f227d197f74b7e6195524793c6db6 Mon Sep 17 00:00:00 2001 From: Arthur Thompson Date: Fri, 16 Aug 2019 16:13:28 -0700 Subject: [PATCH] revert to using available on stable --- .../firebasemessaging/FlutterFirebaseMessagingService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/firebase_messaging/android/src/main/java/io/flutter/plugins/firebasemessaging/FlutterFirebaseMessagingService.java b/packages/firebase_messaging/android/src/main/java/io/flutter/plugins/firebasemessaging/FlutterFirebaseMessagingService.java index b73cfbb65321..97d898dcc8f2 100644 --- a/packages/firebase_messaging/android/src/main/java/io/flutter/plugins/firebasemessaging/FlutterFirebaseMessagingService.java +++ b/packages/firebase_messaging/android/src/main/java/io/flutter/plugins/firebasemessaging/FlutterFirebaseMessagingService.java @@ -140,7 +140,7 @@ public void onNewToken(String token) { */ public static void startBackgroundIsolate(Context context, long callbackHandle) { FlutterMain.ensureInitializationComplete(context, null); - String appBundlePath = FlutterMain.findAppBundlePath(); + String appBundlePath = FlutterMain.findAppBundlePath(context); FlutterCallbackInformation flutterCallback = FlutterCallbackInformation.lookupCallbackInformation(callbackHandle); if (flutterCallback == null) {