mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 10:21:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/packages/flutter_tools/lib/src/reporting/usage.dart
 | 
						|
+++ b/packages/flutter_tools/lib/src/reporting/usage.dart
 | 
						|
@@ -218,7 +218,7 @@
 | 
						|
       if (globals.platform.environment.containsKey('FLUTTER_HOST')) {
 | 
						|
         analytics.setSessionValue('aiid', globals.platform.environment['FLUTTER_HOST']);
 | 
						|
       }
 | 
						|
-      analytics.analyticsOpt = AnalyticsOpt.optOut;
 | 
						|
+      analytics.analyticsOpt = AnalyticsOpt.optIn;
 | 
						|
     }
 | 
						|
 
 | 
						|
     return _DefaultUsage._(
 | 
						|
--- a/packages/flutter_tools/lib/src/reporting/first_run.dart
 | 
						|
+++ b/packages/flutter_tools/lib/src/reporting/first_run.dart
 | 
						|
@@ -37,6 +37,8 @@
 | 
						|
   ║ See Google's privacy policy:                                               ║
 | 
						|
   ║ https://policies.google.com/privacy                                        ║
 | 
						|
   ╚════════════════════════════════════════════════════════════════════════════╝
 | 
						|
+aports overrides: reporting is disabled by default. Opt-out is not a sent event.
 | 
						|
+Run 'flutter config --analytics' to opt in to reports.
 | 
						|
 ''';
 | 
						|
 
 | 
						|
 /// The first run messenger determines whether the first run license terms
 |