Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 102670f1 authored by Wonsik Kim's avatar Wonsik Kim
Browse files

TIF: fix setSurface() logic

Bug: 18457632
Change-Id: I8c25a355c71b5f820a1599fd365e5ae62a9a5eeb
parent 70273e05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -674,7 +674,7 @@ class TvInputHardwareManager implements TvInputHal.Callback {
                    throw new IllegalStateException("Device already released.");
                }

                int result = TvInputHal.ERROR_UNKNOWN;
                int result = TvInputHal.SUCCESS;
                if (surface == null) {
                    // The value of config is ignored when surface == null.
                    if (mActiveConfig != null) {