This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
shell/platform/android/io/flutter Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,9 @@ private static String[] getArgsFromIntent(Intent intent) {
317317 if (intent .getBooleanExtra ("disable-service-auth-codes" , false )) {
318318 args .add ("--disable-service-auth-codes" );
319319 }
320+ if (intent .getBooleanExtra ("endless-trace-buffer" , false )) {
321+ args .add ("--endless-trace-buffer" );
322+ }
320323 // NOTE: all flags provided with this argument are subject to filtering
321324 // based on a whitelist in shell/common/switches.cc. If any flag provided
322325 // is not present in the whitelist, the process will immediately
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ public class FlutterShellArgs {
2626 public static final String ARG_START_PAUSED = "--start-paused" ;
2727 public static final String ARG_KEY_DISABLE_SERVICE_AUTH_CODES = "disable-service-auth-codes" ;
2828 public static final String ARG_DISABLE_SERVICE_AUTH_CODES = "--disable-service-auth-codes" ;
29+ public static final String ARG_KEY_ENDLESS_TRACE_BUFFER = "endless-trace-buffer" ;
30+ public static final String ARG_ENDLESS_TRACE_BUFFER = "--endless-trace-buffer" ;
2931 public static final String ARG_KEY_USE_TEST_FONTS = "use-test-fonts" ;
3032 public static final String ARG_USE_TEST_FONTS = "--use-test-fonts" ;
3133 public static final String ARG_KEY_ENABLE_DART_PROFILING = "enable-dart-profiling" ;
@@ -71,6 +73,9 @@ public static FlutterShellArgs fromIntent(@NonNull Intent intent) {
7173 if (intent .getBooleanExtra (ARG_KEY_DISABLE_SERVICE_AUTH_CODES , false )) {
7274 args .add (ARG_DISABLE_SERVICE_AUTH_CODES );
7375 }
76+ if (intent .getBooleanExtra (ARG_KEY_ENDLESS_TRACE_BUFFER , false )) {
77+ args .add (ARG_ENDLESS_TRACE_BUFFER );
78+ }
7479 if (intent .getBooleanExtra (ARG_KEY_USE_TEST_FONTS , false )) {
7580 args .add (ARG_USE_TEST_FONTS );
7681 }
You can’t perform that action at this time.
0 commit comments