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

Commit 2fc3ab6d authored by Amy's avatar Amy Committed by shubang
Browse files

Fix crash on TV device from casting error.

ag/5347939

Test: local tested
Bug: 118389063
Change-Id: I9d4649ee00fb27983ce6f0a09a6c7879ca0aba2a
parent 3288f8af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ final class DeviceDiscoveryAction extends HdmiCecFeatureAction {
    private final DeviceDiscoveryCallback mCallback;
    private int mProcessedDeviceCount = 0;
    private int mTimeoutRetry = 0;
    private boolean mIsTvDevice = source().mService.isTvDevice();
    private boolean mIsTvDevice = localDevice().mService.isTvDevice();
    private final int mDelayPeriod;

    /**