am 92e89dc8: am 25af46b0: Merge branch \'mnc-dev\' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into mnc-dev
* commit '92e89dc85e2b9c649c221f97efcdee7cdfc4f76b': Camera2: add missing HFR implementation
This commit is contained in:
@@ -155,7 +155,7 @@ public class CameraCaptureSessionImpl extends CameraCaptureSession {
|
||||
if (mIsConstrainedHighSpeedSession) {
|
||||
if (!isConstrainedHighSpeedRequestList(requestList)) {
|
||||
throw new IllegalArgumentException("It is only allowed to submit a constrained "
|
||||
+ "high speed request list to a constrianed high speed session!!!");
|
||||
+ "high speed request list to a constrained high speed session!!!");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -761,8 +761,7 @@ public class CameraCaptureSessionImpl extends CameraCaptureSession {
|
||||
|
||||
@Override
|
||||
public boolean isConstrainedHighSpeed() {
|
||||
// TODO: to be implemented
|
||||
return false;
|
||||
return mIsConstrainedHighSpeedSession;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user