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

Commit 7a25f1bc authored by Olivier Gaillard's avatar Olivier Gaillard
Browse files

Fix the process header for system server strict mode dropbox entries.

Should be system_server instead of unknown.

Change-Id: Ib4005252dc99180fc54b3fc63b06ca3e17ee230a
parent eb9df37e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -9013,7 +9013,9 @@ public class ActivityManagerService extends IActivityManager.Stub
        final boolean isSystemApp = process == null ||
                (process.info.flags & (ApplicationInfo.FLAG_SYSTEM |
                                       ApplicationInfo.FLAG_UPDATED_SYSTEM_APP)) != 0;
        final String processName = process == null ? "unknown" : process.processName;
        final String processName = process != null && process.getPid() == MY_PID
                ? "system_server"
                : (process == null ? "unknown" : process.processName);
        final DropBoxManager dbox = (DropBoxManager)
                mContext.getSystemService(Context.DROPBOX_SERVICE);