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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user