package org.opensuse.tserong.geeko;

import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity {

    private GeekoView mGeekoView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mGeekoView = new GeekoView(this);
        setContentView(mGeekoView);
        // TODO: Somehow it stops drawing if the screen blanks (i.e. it doesn't start again
        // afer you unblank the screen)
    }

    @Override
    protected void onPause() {
        super.onPause();
        mGeekoView.onPause();
    }

    @Override
    protected void onResume() {
        super.onResume();
        mGeekoView.onResume();
    }

}

package org.opensuse.tserong.geeko;

import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity {

    private GeekoView mGeekoView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mGeekoView = new GeekoView(this);
        setContentView(mGeekoView);

    }

    @Override
    protected void onPause() {
        super.onPause();
        mGeekoView.onPause();
    }

    @Override
    protected void onResume() {
        super.onResume();
        mGeekoView.onResume();
    }

}

--- 
+++ 
@@ -12,7 +12,8 @@
         super.onCreate(savedInstanceState);
         mGeekoView = new GeekoView(this);
         setContentView(mGeekoView);
-
+        // TODO: Somehow it stops drawing if the screen blanks (i.e. it doesn't start again
+        // afer you unblank the screen)
     }
 
     @Override
Add note about screen blank killing drawing

Signed-off-by: Tim Serong <179776560e3cc6916f9eda0b631970b6e8e82669@suse.com>
