Add method to get autoframing override

Add a dummy implementation for getAutoframingOverride() method which is
used by CameraServiceProxy to fetch the autoframing system state.

Test: CTS tests continue to pass
Bug: 234004829
Change-Id: Ica619b3cfb90c090707c55c7e6bb77965060d0c8
This commit is contained in:
Bharatt Kukreja
2022-11-28 21:37:36 +00:00
parent e91a383c7f
commit 6e10faf004

View File

@@ -551,6 +551,15 @@ public class CameraServiceProxy extends SystemService
lensFacing, ignoreResizableAndSdkCheck);
}
/**
* Placeholder method to fetch the system state for autoframing.
* TODO: b/260617354
*/
@Override
public int getAutoframingOverride(String packageName) {
return CaptureRequest.CONTROL_AUTOFRAMING_OFF;
}
@Override
public void pingForUserUpdate() {
if (Binder.getCallingUid() != Process.CAMERASERVER_UID) {