MCPcopy Index your code
hub / github.com/cSploit/android / setEnabled

Method setEnabled

cSploit/src/org/csploit/android/tools/Ruby.java:46–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 }
45
46 @Override
47 public void setEnabled() {
48 super.setEnabled();
49 mEnabled = mEnabled &&
50 System.getSettings().getBoolean("MSF_ENABLED", true) &&
51 (ExecChecker.ruby().getRoot() != null ||
52 ExecChecker.ruby().canExecuteInDir(System.getRubyPath()));
53 }
54
55 protected void registerSettingReceiver() {
56 onSettingsChanged.addFilter("MSF_ENABLED");

Callers 2

initMethod · 0.95
onSettingChangedMethod · 0.95

Calls 5

getSettingsMethod · 0.95
rubyMethod · 0.95
getRubyPathMethod · 0.95
getRootMethod · 0.80
canExecuteInDirMethod · 0.80

Tested by

no test coverage detected