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

Commit 612a62ef authored by Stefano Cianciulli's avatar Stefano Cianciulli Committed by Jiakai Zhang
Browse files

Change BackgroundDexoptJobStatsLogger#write to report packages count

This is needed because of the changes to the BackgroundDexoptJobEnded
atom introduced in ag/24209548 to include the count of optimized packages
and total packages.

Bug: 290340704
Test: atest art_standalone_artd_tests
Test: atest ArtServiceTests
Change-Id: I9f27867ed10eaaeb7f8d875f08cc3f82e5015e6b
Merged-In: I9f27867ed10eaaeb7f8d875f08cc3f82e5015e6b
parent cbeabedc
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -334,7 +334,10 @@ public class ArtStatsLogUtils {
                            ArtStatsLog.BACKGROUND_DEXOPT_JOB_ENDED__STATUS__STATUS_UNKNOWN),
                    cancellationReason,
                    durationMs,
                    0);  // deprecated, used to be durationIncludingSleepMs
                    0, // deprecated, used to be durationIncludingSleepMs
                    0, // optimizedPackagesCount
                    0, // packagesDependingOnBootClasspathCount
                    0); // totalPackagesCount
        }
    }
}