Don’t add the unsupported --enable-checked-mode flag to args in SkyActivity. (#2988)

This commit is contained in:
Chinmay Garde 2016-08-31 09:55:03 -07:00 committed by GitHub
parent b03f0e43ba
commit 4157e7d70c

View File

@ -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");
}