Loading
cameraservice: check performance class override in
isSessionConfigurationWithParametersSupported The current implementation of isSessionConfigurationWithParametersSupported simply hardcoded a value of false for overrideForPerfClass parameter. This value would typically for primary read and front cameras. This CL passes the app's target SDK version to cameraservice and uses it to calculate overrideForPerfClass based to follow suit with all the other CameraService functions. Bug: 332975108 Test: atest android.hardware.camera2.cts.CameraDeviceSetupTest passes Change-Id: Ia93e1614f5fa9165383e84d8fdadd1c4dfbb42da