Commit 89e291ff authored by Vishnu Nair's avatar Vishnu Nair Committed by Vijay Dandiga
Browse files

ActivityMetricsLogger: Fix cold launches treated incorrectly as invalid transitions

In some cases where the process is killed and the activity is launched, its start result will be
START_TASK_TO_FRONT if its TaskRecord already exists. In this case the launch should be treated
as a COLD launch since the process will be created.

CRs-Fixed: 2484915
Bug: 130401938
Test: atest ActivityMetricsLoggerTests
Change-Id: I2841fe198d189be692c38f94829604bd1e4aa3b5
(cherry picked from commit f14d25a6a0b9f7026d012972fb38844d296ec20b)
parent 1f29354a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment