commit | a1ea9ecd56fce8bb84fc673650b6be7282ea0e99 | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Mon Aug 16 14:47:55 2021 -0700 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Mon Aug 16 15:05:15 2021 -0700 |
tree | 029d7176828c9190f329b4ff7ef961d483a5f0db | |
parent | 6fd7e85cdb8bc5a7d9ddc6ba9e9ab713784a6bfe [diff] |
Check custom component names before aggregating BatteryUsageStats snapshots If the lists of custom power components do not match, a crash will occur. Instead of causing a crash, simply skip incompatible snapshots. Bug: 196040329 Test: atest FrameworksCoreTests:com.android.internal.os.BatteryUsageStatsProviderTest Change-Id: I87ba605371a5f3119dcff33f6109e94ee46ab57d