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

Commit 2437f9f1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Frameworks: Fix NPE for agent attach" into oc-mr1-dev

parents 982ee8e6 55351365
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7005,7 +7005,7 @@ public class ActivityManagerService extends IActivityManager.Stub
                mProfileProc = app;
                profilerInfo = (mProfilerInfo != null && mProfilerInfo.profileFile != null) ?
                        new ProfilerInfo(mProfilerInfo) : null;
                agent = profilerInfo.agent;
                agent = mProfilerInfo != null ? mProfilerInfo.agent : null;
            } else if (app.instr != null && app.instr.mProfileFile != null) {
                profilerInfo = new ProfilerInfo(app.instr.mProfileFile, null, 0, false, false,
                        null);