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

Skip to content
Commit 76786016 authored by Lais Andrade's avatar Lais Andrade
Browse files

Fix package name for VibratorManagerShellCommand vibrations

Use AppOpsManager to resolve the package name based on the shell command
client UID, so the package name and process uid will match even when the
shell client is rooted.

Bug: 325204954
Test: run 'cmd vibrator_manager synced oneshot 150' on a rooted shell
      and see no more error logs for
      'AppOps  : Attribution not found: uid=0 pkg=root(null) op=VIBRATE'
Change-Id: I39d8158c149ac9c621f23f83513a807bea2c9a58
parent a892df45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment