commit | 64d8bcc891df1a72269b7a6f637e553589c6d8ad | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Thu Feb 06 21:39:27 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu Feb 06 22:40:56 2020 +0800 |
tree | 7156201f9fa75f04f2fcc8ce915faf3740cd5a8a | |
parent | 5f87e0dfee8dfae306928986372283d4a117aaef [diff] |
Reduce unnecessary object creation in relayout test Also change to use STAY_ON_WHILE_PLUGGED_IN for keeping device awake. That eliminates the toggle of wakelock by showing and hiding a window with FLAG_KEEP_SCREEN_ON. Test: atest RelayoutPerfTest InternalWindowOperationPerfTest Bug: 131727899 Change-Id: Ib4608aa1a60c7560b39011cfd2e4740680b3c884