Skip to content
Commit 33ef9474 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioService: validate uid / package name match

When checking app ops, check for exceptions that indicate uid
and package name mismatch.
This affects the code paths for methods:
- adjustStreamVolume
- setStreamVolume
- setMicrophoneMute
- setMasterMute

Bug: 194110891, 194110526
Test: see bug exploit app, verify real/bogus package shows uninstalled
Change-Id: I5cdd52899bc3c89b41bc6074568e2b62637c005c
parent 8e610207
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment