egl/android: fix buffer_count for applications setting max count
Problem with previous solution was that it did not take account that some applications may set a max count for buffers. Therefore we need to query both min and max and clamp our setting based on that.
Closes: #2373 (closed) Fixes: ("egl/android: Restrict minimum triple buffering for android color_buffers") Signed-off-by: Tapani Pälli tapani.palli@intel.com