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

Commit abc8d2d1 authored by Xin Li's avatar Xin Li Committed by android-build-merger
Browse files

Merge "Fix compile time warning." am: 5c6e4acb

am: 317da495

Change-Id: I00c265e52ce90d59c9210057ad77ab44b806d59c
parents daea01b5 317da495
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ static Status checkIncidentPermissions(const IncidentReportArgs& args) {
                        Status::EX_SECURITY,
                        "Calling process does not have permission to get local data.");
            }
            break;
        case DEST_EXPLICIT:
            if (callingUid != AID_SHELL && callingUid != AID_ROOT && callingUid != AID_STATSD &&
                callingUid != AID_SYSTEM) {
@@ -91,6 +92,7 @@ static Status checkIncidentPermissions(const IncidentReportArgs& args) {
                        Status::EX_SECURITY,
                        "Calling process does not have permission to get explicit data.");
            }
            break;
    }
    return Status::ok();
}