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

Commit 377e6be4 authored by Dan Zhang's avatar Dan Zhang Committed by android-build-merger
Browse files

Merge "Fix HdmiCecLocalDevice concurrent access" am: 54908299 am: 1494c011

am: aa0fdc50

Change-Id: Ib99f494e0af49d9ad6b0df8a17538fbc80b48df8
parents 003ce7c6 aa0fdc50
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -660,7 +660,8 @@ abstract class HdmiCecLocalDevice {
    @ServiceThreadOnly
    void startQueuedActions() {
        assertRunOnServiceThread();
        for (HdmiCecFeatureAction action : mActions) {
        // Use copied action list in that start() may remove itself.
        for (HdmiCecFeatureAction action : new ArrayList<>(mActions)) {
            if (!action.started()) {
                Slog.i(TAG, "Starting queued action:" + action);
                action.start();