Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff2723e6 authored by Ashwini Oruganti's avatar Ashwini Oruganti
Browse files

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
parent db11fdcc
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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:");