diff options
author | Jing Ji <jji@google.com> | 2020-10-20 11:50:43 -0700 |
---|---|---|
committer | Jing Ji <jji@google.com> | 2020-10-20 13:30:28 -0700 |
commit | 68778ba87d7061209f745ce306a84f4d5dc930d6 (patch) | |
tree | 0dfe1ff3cfa51305a22a3ff5cdb09f03da69e482 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | c1271a4f2f9acadab19c9bc4d26ffa0cda8b53df (diff) |
Make a copy of WorkSources before noting the battery stats
The battery stats are noted asynced, the work sources could be
mutated before they are actualy recorded into battery stats.
So make a copy of them prior to the noting.
Bug: 169573447
Test: atest FrameworksCoreTests:BatteryStatsTests
Test: atest CtsIncidentHostTestCases
Test: atest BatteryStatsDumpsysTest
Change-Id: I6326f7d66f9590ce544fc491fda07cd4397ef804
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions