android: named runtime surface
This MR slightly modify the create surface API, to introduce a new parameter which is the name (title) of the surface. This is not like comp_target::set_title
, the title is only available for surface flinger.
Use adb shell dumpsys SurfaceFlinger
to see the result:
SurfaceView[Monado](BLAST)#0
rel 0 | 0 | 0 | DEVICE | 0 | 0 90 1080 2400 | 0.0 0.0 1080.0 2310.0 | [ ]
Tested with HelloXR on Pixel 4 and Motorola Edge +.