commit | 3c46171d3fd507906834858b8b6fdf9802109051 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Thu Dec 14 00:00:15 2017 -0800 |
committer | Tom Cherry <tomcherry@google.com> | Thu Dec 14 17:06:22 2017 -0800 |
tree | e8dc838cae90400c395a62e7c1ade30a373762b9 | |
parent | 9042585fa083eca2df9b2202496542927fa1e940 [diff] |
Do not reinitialize system properties to fake their values Reinitializing system properties can result in crashes later in the program, and is generally not recommended or even supported. Instead, this change uses a very rudamentary approach to mocking out the system property functions. Bug: 62197783 Test: unit tests Change-Id: I99c57e1d87490926e4839ee154c862ee8a199e26