Update type of surface stats listener function to include id used to identify the surface
Test: Existing tests
Change-Id: I5680edac1c9b241d3a2690ce056fc8296e0ad500
diff --git a/include/private/surface_control_private.h b/include/private/surface_control_private.h
index 37a476e..44324f8 100644
--- a/include/private/surface_control_private.h
+++ b/include/private/surface_control_private.h
@@ -30,7 +30,7 @@
* Callback to be notified when surface stats for a specific surface control are available.
*/
typedef void (*ASurfaceControl_SurfaceStatsListener)(void* context,
- ASurfaceControl* control, ASurfaceControlStats* stats);
+ ASurfaceControl* control, int32_t id, ASurfaceControlStats* stats);
/**
* Registers a callback to be invoked when surface stats from a specific surface are available.
@@ -42,7 +42,7 @@
*
* \param func The callback to be invoked when surface stats are available.
*/
-void ASurfaceControl_registerSurfaceStatsListener(ASurfaceControl* control, void* context,
+void ASurfaceControl_registerSurfaceStatsListener(ASurfaceControl* control, int32_t id, void* context,
ASurfaceControl_SurfaceStatsListener func);
/**