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

Commit 95399493 authored by Chet Haase's avatar Chet Haase
Browse files

Amend getOverlay() docs for SurfaceView/TextureView

SurfaceView and TextureView do not currently support overlays
correctly; the docs now reflect this constraint.

Change-Id: I79183c02b51ae4cd14638198d0668b2c2e3e22e1
parent 26c13439
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -14060,6 +14060,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * managed: remove them when they should not be displayed anymore. The
     * overlay will always have the same size as its host view.
     *
     * <p>Note: Overlays do not currently work correctly with {@link
     * SurfaceView} or {@link TextureView}; contents in overlays for these
     * types of views may not display correctly.</p>
     *
     * @return The ViewOverlay object for this view.
     * @see ViewOverlay
     */
+4 −0
Original line number Diff line number Diff line
@@ -2975,6 +2975,10 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
     * representation of a view in a parent container, such as might be used
     * by an animation effect.
     *
     * <p>Note: Overlays do not currently work correctly with {@link
     * SurfaceView} or {@link TextureView}; contents in overlays for these
     * types of views may not display correctly.</p>
     *
     * @return The ViewGroupOverlay object for this view.
     * @see ViewGroupOverlay
     */