commit | 2c7efc70d710040bf21b81abe18f663d823eb966 | [log] [tgz] |
---|---|---|
author | Michael Sun <michaelfsun@google.com> | Tue Nov 24 06:50:51 2020 +0000 |
committer | Michael Sun <michaelfsun@google.com> | Tue Nov 24 06:50:51 2020 +0000 |
tree | c20da7a8ce3d1077dc499b50cbbc1a60fafb9232 | |
parent | e9226f999fcb4ba816a6c0d7bde01b8c6cb560d1 [diff] |
BatteryStats: explicitly copy the wakeup reasons As the wakeup reasons received from binder callback are in const reference, std::move the parameter will result in a copy operation in order to fulfill the const restriction. Update to reflect this explicitly. Test: adb shell dumpsys batterystats --history Bug: 173165219 Change-Id: I6ab995cc11600b37123651bacc2015a3bf1a4bf6