Add ApiDemos for secure surfaces.

Added three ApiDemos for secure surfaces.  One for Activity,
one for Dialog and one for SurfaceView.  The mechanism is the
same in each case but the API is a little different.

Bug: 7368436
Change-Id: I78bc2a456b4c0f1a553120d72f433095ba7e038c
This commit is contained in:
Jeff Brown
2012-10-23 20:40:38 -07:00
parent dc14aa6f1c
commit c875f9321a
10 changed files with 409 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ import android.opengl.GLSurfaceView;
* Render a pair of tumbling cubes.
*/
class CubeRenderer implements GLSurfaceView.Renderer {
public class CubeRenderer implements GLSurfaceView.Renderer {
public CubeRenderer(boolean useTranslucentBackground) {
mTranslucentBackground = useTranslucentBackground;
mCube = new Cube();