Switch the default for implicit references

This commit is contained in:
Ben Gruver 2015-01-20 19:01:18 -08:00 committed by Connor Tumbleson
parent 97c52167cf
commit d9e5b0a487
2 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ public class baksmaliOptions {
public boolean deodex = false;
public boolean ignoreErrors = false;
public boolean checkPackagePrivateAccess = false;
public boolean useImplicitReferences = true;
public boolean useImplicitReferences = false;
public File customInlineDefinitions = null;
public InlineMethodResolver inlineResolver = null;
public int registerInfo = 0;

View File

@ -206,7 +206,7 @@ public class main {
options.setResourceIdFiles(rif);
break;
case 't':
options.useImplicitReferences = false;
options.useImplicitReferences = true;
break;
case 'e':
options.dexEntry = commandLine.getOptionValue("e");
@ -425,8 +425,8 @@ public class main {
.withArgName("FILES")
.create("i");
Option noImplicitReferencesOption = OptionBuilder.withLongOpt("no-implicit-references")
.withDescription("Don't use implicit (type-less) method and field references")
Option noImplicitReferencesOption = OptionBuilder.withLongOpt("implicit-references")
.withDescription("Use implicit (type-less) method and field references")
.create("t");
Option checkPackagePrivateAccessOption = OptionBuilder.withLongOpt("check-package-private-access")