2201d08f8d
This is a bug introduced while refactoring init_display_surface(), in
[1]. As a result, user of res_create_multi_display_surface(), which is
effectively `charger` right now, crashes due to buffer overrun.
This CL fixes the wrong arg and adds a sanity test for
res_create_multi_display_surface(). The testdata (battery_scale.png) is
copied from system/core/healthd/images/battery_scale.png.
[1] commit
|
||
---|---|---|
.. | ||
common | ||
component | ||
manual | ||
testdata | ||
unit | ||
Android.bp | ||
AndroidTest.xml |