commit | 84a67c62d01e35fa37f33f07a424c6ddf232e747 | [log] [tgz] |
---|---|---|
author | Robert Horvath <robhor@google.com> | Fri Nov 29 15:31:30 2019 +0100 |
committer | Robert Horvath <robhor@google.com> | Fri Nov 29 15:31:30 2019 +0100 |
tree | 7b9100a171cc4b20c6efa9a84b1e8627a73e96a6 | |
parent | 022be6f3edda6a5884c236d715c1eff5333a9227 [diff] |
Refactor PowerManager to make SystemProperties testable Introduce an interface through which SystemProperties are accessed. This interface can be swapped out during tests to make testing SystemProperty related changes easier. Bug: 145265927 Test: atest PowerManagerServiceTest Change-Id: Ic0a99da07c5592810376bdacdb44393f92be0422