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

Commit 8231929e authored by Matt Pietal's avatar Matt Pietal
Browse files

Control Service - Fix typo

The message id had a typo, causing crashes when taking an action.

Test: manual
Change-Id: Ie46fefb12518c4631e7db321042d64a2d9bbf895
parent 44e5637c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ public abstract class ControlsProviderService extends Service {

            public void onAction(String id, ControlAction action) {
                ActionMessage msg = new ActionMessage(id, action);
                mHandler.obtainMessage(RequestHandler.MSG_SUBSCRIBE, msg).sendToTarget();
                mHandler.obtainMessage(RequestHandler.MSG_ON_ACTION, msg).sendToTarget();
            }
        };
    }