We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f68c320 commit 623bf17Copy full SHA for 623bf17
firebase-sessions/src/test/kotlin/com/google/firebase/sessions/testing/FakeFirebaseApp.kt
@@ -43,7 +43,7 @@ internal class FakeFirebaseApp(
43
val packageInfo = PackageInfoBuilder.newBuilder().setPackageName(context.packageName).build()
44
packageInfo.versionName = MOCK_APP_VERSION
45
46
- metadata?.let { packageInfo.applicationInfo.metaData = it }
+ metadata?.let { packageInfo.applicationInfo!!.metaData = it }
47
shadowPackageManager.installPackage(packageInfo)
48
49
val activityManager = context.getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager
0 commit comments