Show bug_map links on user builds

bug_map data is now included on user builds.

Bug: 141695494
Test: Generated a tracked denial on a user build and verified that the
bug number shows up in the logs.

Change-Id: If2afa861acece63573973fe42d504d1d41964a4f
This commit is contained in:
Ashwini Oruganti 2019-10-04 10:36:23 -07:00
parent db11fdcca3
commit ff2723e647

View file

@ -143,10 +143,6 @@ std::string LogAudit::denialParse(const std::string& denial, char terminator,
void LogAudit::auditParse(const std::string& string, uid_t uid,
std::string* bug_num) {
if (!__android_log_is_debuggable()) {
bug_num->assign("");
return;
}
static std::map<std::string, std::string> denial_to_bug =
populateDenialMap();
std::string scontext = denialParse(string, ':', "scontext=u:object_r:");