From 3896db14751f16f4053e8fa4a82c3d6803054e5b Mon Sep 17 00:00:00 2001 From: Jeff Tinker Date: Fri, 3 Mar 2017 00:20:22 +0000 Subject: Revert "Modify SurfaceView to use SurfaceFlinger child surfaces." This reverts commit 693f3432ae77d1fcfaaf9d168de861192aacb4c4. P0: When playing encrypted content the Fugu displays a blank screen. Test: with topic "surfaceview-without-wm" reverted, encrypted playback works on ToT oc-release. See repro steps in 35917840#12. bug:35917840 Change-Id: I37fa1e427daff3a1c18ed1c92d035421d891f67c --- core/java/android/view/SurfaceSession.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core/java/android/view/SurfaceSession.java') diff --git a/core/java/android/view/SurfaceSession.java b/core/java/android/view/SurfaceSession.java index b5912bc1e1c8..3cf5af484625 100644 --- a/core/java/android/view/SurfaceSession.java +++ b/core/java/android/view/SurfaceSession.java @@ -27,7 +27,6 @@ public final class SurfaceSession { private long mNativeClient; // SurfaceComposerClient* private static native long nativeCreate(); - private static native long nativeCreateScoped(long surfacePtr); private static native void nativeDestroy(long ptr); private static native void nativeKill(long ptr); @@ -36,10 +35,6 @@ public final class SurfaceSession { mNativeClient = nativeCreate(); } - public SurfaceSession(Surface root) { - mNativeClient = nativeCreateScoped(root.mNativeObject); - } - /* no user serviceable parts here ... */ @Override protected void finalize() throws Throwable { -- cgit v1.2.3