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

Commit 4bbc6b3d authored by Stefano Cianciulli's avatar Stefano Cianciulli Committed by Cherrypicker Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dc045dc39537a879b11b8d1e937a7f96a529be90)
Merged-In: I9f27867ed10eaaeb7f8d875f08cc3f82e5015e6b
Change-Id: I9f27867ed10eaaeb7f8d875f08cc3f82e5015e6b
parent ae4fb133
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
        }
    }
}