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
Loading
Please register or sign in to comment