Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a522705 authored by Eric Rahm's avatar Eric Rahm
Browse files

Remove support for renderscript from stream config

Remove the deperecated `android.renderscript.Allocation` from the list
of supported output classes in `StreamConfigurationMap`.

Bug: 296813467
Test: atest CtsCameraTestCases
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b07f70d372e57b24ff428fb35a3d421648d0781e)
Merged-In: Iee9fc4d2c69888c5905f0a0fdc81f22757ac1c4f
Change-Id: Iee9fc4d2c69888c5905f0a0fdc81f22757ac1c4f
parent e1ee1aab
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -465,8 +465,6 @@ public final class StreamConfigurationMap {
     * Recommended for recording video (simple to use)
     * <li>{@link android.media.MediaCodec} -
     * Recommended for recording video (more complicated to use, with more flexibility)
     * <li>{@link android.renderscript.Allocation} -
     * Recommended for image processing with {@link android.renderscript RenderScript}
     * <li>{@link android.view.SurfaceHolder} -
     * Recommended for low-power camera preview with {@link android.view.SurfaceView}
     * <li>{@link android.graphics.SurfaceTexture} -