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

Commit 9469cdde authored by Michael Wright's avatar Michael Wright
Browse files

Add paragraph tags to MediaProjection docs

Change-Id: Ia881f9bcf3b93bd699f9ddf80d51ec7d0e74d2ed
parent f024d30b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -198,10 +198,14 @@ public final class DisplayManager {
     * VIRTUAL_DISPLAY_FLAG_PRIVATE.  Other flags are not allowed (especially
     * not VIRTUAL_DISPLAY_FLAG_PUBLIC or PRESENTATION).
     *
     * <p>
     * Requires screen share permission for use.
     * </p>
     *
     * <p>
     * While a display of this type exists, the system will show some sort of
     * notification to the user indicating that the screen is being shared.
     * </p>
     *
     * @see #createVirtualDisplay
     */
+2 −1
Original line number Diff line number Diff line
@@ -160,9 +160,10 @@ public final class MediaProjection {
    public static abstract class Callback {
        /**
         * Called when the MediaProjection session is no longer valid.
         *
         * <p>
         * Once a MediaProjection has been stopped, it's up to the application to release any
         * resources it may be holding (e.g. {@link android.hardware.display.VirtualDisplay}s).
         * </p>
         */
        public void onStop() { }
    }