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

Commit d2969842 authored by Huihong Luo's avatar Huihong Luo
Browse files

Mark display parameter to be nullable

The getDisplayStats method allows null display as the input
parameter.

Bug: 229037800
Test: run cts -m CtsDeqpTestCases
Change-Id: Iadce8b18b031f806960cfe61d636f0aec0aa2f26
parent a4b0d8af
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -54,10 +54,11 @@ interface ISurfaceComposer {
     */
     */
    void setPowerMode(IBinder display, int mode);
    void setPowerMode(IBinder display, int mode);


    /* returns display statistics for a given display
    /**
     * Returns display statistics for a given display
     * intended to be used by the media framework to properly schedule
     * intended to be used by the media framework to properly schedule
     * video frames */
     * video frames */
    DisplayStatInfo getDisplayStats(IBinder display);
    DisplayStatInfo getDisplayStats(@nullable IBinder display);


     /**
     /**
     * Get transactional state of given display.
     * Get transactional state of given display.