mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Don’t add the unsupported --enable-checked-mode flag to args in SkyActivity. (#2988)
This commit is contained in:
parent
b03f0e43ba
commit
4157e7d70c
@ -36,9 +36,6 @@ public class SkyActivity extends Activity {
|
||||
// Android applications can generate intents with extra data and that
|
||||
// there are many security-sensitive args in the binary.
|
||||
ArrayList<String> args = new ArrayList<String>();
|
||||
if (intent.getBooleanExtra("enable-checked-mode", false)) {
|
||||
args.add("--enable-checked-mode");
|
||||
}
|
||||
if (intent.getBooleanExtra("trace-startup", false)) {
|
||||
args.add("--trace-startup");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user