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

Commit b4570929 authored by Evan Severson's avatar Evan Severson Committed by Android (Google) Code Review
Browse files

Merge "Log activity launches for ACTION_PROCESS_TEXT" into main

parents 74f42854 e75ed46d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -769,6 +769,11 @@ class ActivityMetricsLogger {
            // As abort for no process switch.
            launchObserverNotifyIntentFailed(newInfo.mLaunchingState.mStartUptimeNs);
        }
        if (Intent.ACTION_PROCESS_TEXT.equals(newInfo.mLastLaunchedActivity.intent.getAction())) {
            mLoggerHandler.post(PooledLambda.obtainRunnable(FrameworkStatsLog::write,
                    FrameworkStatsLog.PROCESS_TEXT_ACTION_LAUNCHED_REPORTED,
                    launchedActivity.launchedFromUid, launchedActivity.getUid()));
        }
        scheduleCheckActivityToBeDrawnIfSleeping(launchedActivity);

        // If the previous transitions are no longer visible, abort them to avoid counting the