am 7edaf55a: Merge "TIF: fix setSurface() logic" into lmp-mr1-dev
* commit '7edaf55aab6fb14a640904015e10e2f5c9299423': TIF: fix setSurface() logic
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user