Skip to content
Commit 414644a2 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: Ice7a84993c68e7ec736fdf0b9fd5b8171b37b725
Merged-In: Ice7a84993c68e7ec736fdf0b9fd5b8171b37b725
(cherry picked from commit e0141e5b)
parent 4c76184e
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