File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
firebase-crashlytics/src/main/java/com/google/firebase/crashlytics Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,10 @@ public boolean didCrashOnPreviousExecution() {
338338 * disabled. Use {@link #deleteUnsentReports()} to delete any reports stored on the device without
339339 * sending them to Crashlytics.
340340 *
341- * @param enabled whether to enable automatic data collection.
341+ * @param enabled whether to enable automatic data collection. When set to `false`, the new value
342+ * does not apply until the next run of the app. If you want to disable data collection by
343+ * default for all app runs, add the `firebase_crashlytics_collection_enabled` flag to your
344+ * app's AndroidManifest.xml.
342345 */
343346 public void setCrashlyticsCollectionEnabled (boolean enabled ) {
344347 core .setCrashlyticsCollectionEnabled (enabled );
You can’t perform that action at this time.
0 commit comments