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

Commit 5a6b2e2c authored by Jack Yu's avatar Jack Yu
Browse files

Add NfcSNOOP log in bugreport

Bug: 153704838
Test: check nfcsnoop log in bugreport
Change-Id: I9f4f981905c77bff35b2b2972a77b10e73696922
parent 664f2a62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ bool DropRootUser() {

    static const std::vector<std::string> group_names{
        "log", "sdcard_r", "sdcard_rw", "mount", "inet", "net_bw_stats",
            "readproc", "bluetooth", "wakelock"};
            "readproc", "bluetooth", "wakelock", "nfc"};
    std::vector<gid_t> groups(group_names.size(), 0);
    for (size_t i = 0; i < group_names.size(); ++i) {
        grp = getgrnam(group_names[i].c_str());
+2 −0
Original line number Diff line number Diff line
@@ -1395,6 +1395,8 @@ static Dumpstate::RunStatus dumpstate() {

    /* Dump Bluetooth HCI logs */
    ds.AddDir("/data/misc/bluetooth/logs", true);
    /* Dump Nfc NCI logs */
    ds.AddDir("/data/misc/nfc/logs", true);

    if (ds.options_->do_fb && !ds.do_early_screenshot_) {
        MYLOGI("taking late screenshot\n");