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

Commit 7f93e8f3 authored by Tom Chan's avatar Tom Chan
Browse files

Check permissions for WSM shell commands

Override handleShellCommand instead of onShellCommand because Binder.onShellCommand checks the necessary permissions of the caller before calling handleShellCommand.

Bug: 400445323, 345196167
Test: Tried running the commands from an app. It can no longer trigger the changes in WSM.
Flag: EXEMPT bugfix
Change-Id: I1fb7e1336ef42a0585227e5d825ac6c70333b7f0
parent 182c34af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment