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

Commit ad2ddf6a authored by Louis Chang's avatar Louis Chang
Browse files

Adding logs for starting activity failure

Bug: 325031092
Test: wm presubmit
Change-Id: I3051e0ec83095de18bd1678e87f0e69c281a82c5
parent b23955e7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1528,6 +1528,8 @@ class ActivityStarter {
                result = startActivityInner(r, sourceRecord, voiceSession, voiceInteractor,
                        startFlags, options, inTask, inTaskFragment, balVerdict,
                        intentGrants, realCallingUid);
            } catch (Exception ex) {
                Slog.e(TAG, "Exception on startActivityInner", ex);
            } finally {
                Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER);
                startedActivityRootTask = handleStartResult(r, options, result, newTransition,
+1 −1
Original line number Diff line number Diff line
@@ -1889,7 +1889,7 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks {
        // Check that we aren't reparenting to the same root task that the task is already in
        if (prevRootTask != null && prevRootTask.mTaskId == rootTaskId) {
            Slog.w(TAG, "Can not reparent to same root task, task=" + task
                    + " already in rootTaskId=" + rootTaskId);
                    + " already in rootTaskId=" + rootTaskId + " by " + Debug.getCallers(8));
            return prevRootTask;
        }