Skip to content

Commit

Permalink
Android be like
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed Jul 26, 2021
1 parent a86c3cc commit 085cad7
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions android/src/mindustry/android/AndroidRhinoContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,6 @@ public class AndroidRhinoContext{
* @return a context prepared for android
*/
public static Context enter(File cacheDirectory){
if(!SecurityController.hasGlobal())
SecurityController.initGlobal(new SecurityController(){
@Override
public GeneratedClassLoader createClassLoader(ClassLoader classLoader, Object o){
return Context.getCurrentContext().createClassLoader(classLoader);
}

@Override
public Object getDynamicSecurityDomain(Object o){
return null;
}

@Override
public Object callWithDomain(Object o, Context context, Callable callable, Scriptable scriptable, Scriptable scriptable1, Object[] objects){
return null;
}
});

AndroidContextFactory factory;
if(!ContextFactory.hasExplicitGlobal()){
Expand Down

0 comments on commit 085cad7

Please sign in to comment.