固定它.ImageReader生成的图像需要关闭,否则会很快填满内存.
@Override onImageAvailable(ImageReader reader) { Image image = reader.acquireLatestImage(); // Process the image image.close(); }