Project

General

Profile

« Previous | Next » 

Revision ce31f774

Added by Leszek Koltunski about 1 year ago

remove all references to android.Context and android.Activity from distorted-objectlib

View differences:

src/main/java/org/distorted/main/RubikSurfaceView.java
111 111
        {
112 112
        RubikActivity act = (RubikActivity)context;
113 113
        RubikObjectLibInterface ref = new RubikObjectLibInterface(act);
114
        mObjectController = new ObjectControl(act,ref);
114
        mObjectController = new ObjectControl(ref);
115 115
        mRenderer = new RubikRenderer(this);
116 116

  
117 117
        final ActivityManager activityManager= (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);

Also available in: Unified diff