commit | 2fc72f72e5125287b006f6c5e69d64fbc2c245af | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Tue Aug 22 16:35:52 2017 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Fri Sep 08 13:27:58 2017 +0100 |
tree | f9a5cba0ddcd2c122a315b5db5d5f47a4f4031d0 | |
parent | 8c3e12a904e9f27ea2335accd031a20f20602635 [diff] |
Refactor CompareResult<> class and its call sites Move all corner case logic from call sites to CompareResult's implementation, add a constructor to directly do the comparison. Test: runtest frameworks-core -c android.net.LinkPropertiesTest Change-Id: I95bba82ec38d295b18c49c025dffab5f17271cbd