diff options
| author | Jeff Tinker <jtinker@google.com> | 2017-03-03 00:20:22 +0000 |
|---|---|---|
| committer | Jeff Tinker <jtinker@google.com> | 2017-03-03 00:48:00 +0000 |
| commit | 3896db14751f16f4053e8fa4a82c3d6803054e5b (patch) | |
| tree | 73fc26fab80b97ed96da530914218bf6071909fb /core/java/android/view/SurfaceSession.java | |
| parent | 693f3432ae77d1fcfaaf9d168de861192aacb4c4 (diff) | |
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
Diffstat (limited to 'core/java/android/view/SurfaceSession.java')
| -rw-r--r-- | core/java/android/view/SurfaceSession.java | 5 |
1 files changed, 0 insertions, 5 deletions
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 { |
