GalleryAdapter: Optimizations
Signed-off-by: Peter Cai <xqsx43cxy@126.com>
Merge remote-tracking branch 'origin/master'