Prevent settings impostors from installing CA certs

In addition to checking that the invoking package was
com.android.settings, check that this package has system uid.

Bug: 417463103
Test: manual
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:46580f2f6f027dfe2284382184785f2979677303)
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:2f858ccb45cd1e1efd3175a217e06c06c109db66
Merged-In: I3779b0d38dafee2333716113f6d5f4de78529380
Change-Id: I3779b0d38dafee2333716113f6d5f4de78529380
2 files changed
tree: 4fc70aaf82194d133817055c0e481a25896e9cd3
  1. res/
  2. robotests/
  3. src/
  4. Android.bp
  5. AndroidManifest.xml
  6. CleanSpec.mk
  7. OWNERS