@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
        setContentView(new FrameLayout(this));
    }
Simple test activity for custom tabs testing.
customtabs/tests/src/android/support/customtabs/TestActivity.java