Merge "Add method to get autoframing override"

This commit is contained in:
Bharatt Kukreja
2022-11-29 23:24:13 +00:00
committed by Android (Google) Code Review

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) {