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

Commit 6b913abe authored by jiayongqiang's avatar jiayongqiang
Browse files

Modify comments for SurfaceSession.



SurfaceSession is allowed to be null, and if it is null, it will get
the instance of SurfaceComposerClient via
`SurfaceComposerClient::getDefault()` in JNI.

Change-Id: Icbeb47d1be3d443a98bae4ef3b7feba49ebdbbe8
Signed-off-by: default avatarjiayongqiang <jiayongqiang@xiaomi.com>
parent 093c0d89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1247,7 +1247,7 @@ public final class SurfaceControl implements Parcelable {
     * surface has no buffer or crop, the surface is boundless and only constrained
     * by the size of its parent bounds.
     *
     * @param session  The surface session, must not be null.
     * @param session  The surface session.
     * @param name     The surface name, must not be null.
     * @param w        The surface initial width.
     * @param h        The surface initial height.