commit | 8cb82d2530f3f21bccc20d63797f43e21027ff68 | [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 | 3a9d7b9a2397ac9059a378227e9277ef1692c7ec | |
parent | 8bebf411ccfdeb851ab6124b3b8df88293b4853f [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