diff options
author | Hunter Knepshield <hknepshield@google.com> | 2020-12-16 14:36:02 -0800 |
---|---|---|
committer | Hunter Knepshield <hknepshield@google.com> | 2021-01-15 10:58:14 -0800 |
commit | 57fd3440be2f2c2df0e90dbf5415dea95d90b388 (patch) | |
tree | d95faa31cb598a4484b99fd35742107b28b3d741 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4a1b9e949d314cc8ba528c052428e73d4c2f4c2f (diff) |
Make BugreportManager a public API that respects carrier privileges.
This permission model is only allowed for BUGREPORT_MODE_TELEPHONY to
let carrier apps (even from the Play Store / not pre-loaded) access
BugreportManager to trigger connectivity bugreports.
This also requires SELinux policy changes to allow non-system apps to
get an instance through Context#getSystemService, and then dumpstate
also needs permissions to write public apps' files.
Minor documentation and formatting fixes as well.
BYPASS_INCLUSIVE_LANGUAGE_REASON=leaving variable name derived from
"bugreport-whitelisted" sysconfig alone for now
Bug: 161393541
Test: atest CtsCarrierApiTestCases:BugreportManagerTest
Change-Id: I5a38e7a040fa23146fa6c1e785db102b066ad167
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions