Merge "Remove unused instance of setTvMessageEnabled" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f90a659c48
@@ -1124,18 +1124,6 @@ class TvInputHardwareManager implements TvInputHal.Callback {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean setTvMessageEnabled(int deviceId, TvStreamConfig streamConfig, int type,
|
|
||||||
boolean enabled) {
|
|
||||||
synchronized (mImplLock) {
|
|
||||||
if (mReleased) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return mHal.setTvMessageEnabled(deviceId, streamConfig, type, enabled)
|
|
||||||
== TvInputHal.SUCCESS;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean startCapture(Surface surface, TvStreamConfig config) {
|
private boolean startCapture(Surface surface, TvStreamConfig config) {
|
||||||
synchronized (mImplLock) {
|
synchronized (mImplLock) {
|
||||||
if (mReleased) {
|
if (mReleased) {
|
||||||
|
|||||||
Reference in New Issue
Block a user