summaryrefslogtreecommitdiff
path: root/libs/gui
diff options
context:
space:
mode:
author Huihong Luo <huisinro@google.com> 2022-05-26 12:36:08 -0700
committer Huihong Luo <huisinro@google.com> 2022-05-31 09:38:27 -0700
commitd29698422c7cb47b158d82a86a9bdda6e03d7f31 (patch)
tree9ec7fc8c4ecee18ec93c8e7825696e2d0d35da57 /libs/gui
parenta4b0d8af289c5f2e911b5d5f15a8e92650b0c54e (diff)
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
Diffstat (limited to 'libs/gui')
-rw-r--r--libs/gui/aidl/android/gui/ISurfaceComposer.aidl5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/gui/aidl/android/gui/ISurfaceComposer.aidl b/libs/gui/aidl/android/gui/ISurfaceComposer.aidl
index a9977b0f45..b31b37bada 100644
--- a/libs/gui/aidl/android/gui/ISurfaceComposer.aidl
+++ b/libs/gui/aidl/android/gui/ISurfaceComposer.aidl
@@ -54,10 +54,11 @@ interface ISurfaceComposer {
*/
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
* video frames */
- DisplayStatInfo getDisplayStats(IBinder display);
+ DisplayStatInfo getDisplayStats(@nullable IBinder display);
/**
* Get transactional state of given display.