commit | 08e9f5f41cb9b99332a9f4d9d0eca2f805e94e82 | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Thu Dec 16 10:22:02 2021 -0800 |
committer | Victor Hsieh <victorhsieh@google.com> | Thu Dec 16 10:35:20 2021 -0800 |
tree | dedaf070afd37a1e6c9192e467bfe4f128b665b9 | |
parent | e19b2848ce8b0bb793232b36ac8953f82e892c5d [diff] |
odrefresh should exit non-zero for invalid argument This fixes two cases. 1. "Expected 1 argument, but have %d." 2. unknown action Because of 1, the loop is actually not necessary (as pointed out by the compiler), so removed. With 2 now exits, the default return is never eached, thus deleted. Bug: 205750213 Test: atest art_standalone_odrefresh_tests Test: atest ComposHostTestCases Change-Id: Ifc198e888045e633a63a918509faf9a0fe1e24fb