Merge "TIF: fix setSurface() logic" into lmp-mr1-dev

This commit is contained in:
Jae Seo
2014-11-20 18:51:30 +00:00
committed by Android (Google) Code Review

View File

@@ -681,7 +681,7 @@ class TvInputHardwareManager implements TvInputHal.Callback {
throw new IllegalStateException("Device already released."); throw new IllegalStateException("Device already released.");
} }
int result = TvInputHal.ERROR_UNKNOWN; int result = TvInputHal.SUCCESS;
if (surface == null) { if (surface == null) {
// The value of config is ignored when surface == null. // The value of config is ignored when surface == null.
if (mActiveConfig != null) { if (mActiveConfig != null) {