From 1b03de724d446d24b92a28b77433994be9d5962e Mon Sep 17 00:00:00 2001 From: Guillaume Bernos Date: Thu, 9 Jan 2025 15:02:13 +0100 Subject: [PATCH] test without crash --- .../test-app/src/main/AndroidManifest.xml | 11 ++- .../testing/crashlytics/FirstFragment.kt | 14 ++++ .../crashlytics/PreFirebaseProvider.kt | 78 +++++++++++++++++++ 3 files changed, 101 insertions(+), 2 deletions(-) create mode 100644 firebase-crashlytics/test-app/src/main/kotlin/com/google/firebase/testing/crashlytics/PreFirebaseProvider.kt diff --git a/firebase-crashlytics/test-app/src/main/AndroidManifest.xml b/firebase-crashlytics/test-app/src/main/AndroidManifest.xml index 82ff1703e99..ba3a22fd363 100644 --- a/firebase-crashlytics/test-app/src/main/AndroidManifest.xml +++ b/firebase-crashlytics/test-app/src/main/AndroidManifest.xml @@ -29,7 +29,6 @@ android:exported="true" android:label="@string/app_name" android:name="com.google.firebase.testing.crashlytics.MainActivity" - android:process=":main" android:theme="@style/Theme.Widget_test_app.NoActionBar"> @@ -52,6 +51,15 @@ android:name="firebase_crashlytics_crashlytics_restart_timeout" android:value="5" /> + + + + - ?, + selection: String?, + selectionArgs: Array?, + sortOrder: String? + ): Cursor? = null + + override fun getType(uri: Uri): String? = null + + override fun insert(uri: Uri, values: ContentValues?): Uri? = null + + override fun delete(uri: Uri, selection: String?, selectionArgs: Array?): Int = 0 + + override fun update( + uri: Uri, + values: ContentValues?, + selection: String?, + selectionArgs: Array? + ): Int = 0 +} \ No newline at end of file