Skip to content

Commit

Permalink
Use new constructor which respects Frame Tracking feature flag (#1087)
Browse files Browse the repository at this point in the history
Co-authored-by: Manoel Aranda Neto <marandaneto@gmail.com>
  • Loading branch information
markushi and marandaneto authored Oct 25, 2022
1 parent 7867039 commit a9ca181
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
args.getIfNotNull<Boolean>("enableAutoPerformanceTracking") { enableAutoPerformanceTracking ->
if (enableAutoPerformanceTracking) {
autoPerformanceTrackingEnabled = true
framesTracker = ActivityFramesTracker(LoadClass())
framesTracker = ActivityFramesTracker(LoadClass(), options)
}
}

Expand Down

0 comments on commit a9ca181

Please sign in to comment.