super.onCreate(savedInstanceState);
mView = new AutoInvalidateView(this);
mView.setLayoutParams(new ViewGroup.LayoutParams(16, 16));
setContentView(mView);
new Handler().postDelayed(new Runnable() {
public void run() {
mStartProfiling = true;
android.util.Log.d("Performance", "Profiling started");
Debug.startMethodTracing("invalidateCycle");
mView.invalidate();
}
}, 15000);