diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2016-02-20 16:17:50 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2016-02-20 23:24:25 +0900 |
commit | f979012c9b5891254177dae965b2b64d70b8c283 (patch) | |
tree | c01ade3db01e710194b8b760f1c12e0298f4235f /docs/html/sdk/api_diff/19/changes | |
parent | 70fc1623301ab5268c54bb203329893893ed35cb (diff) |
Add a unit test for MessageUtils.
Also fix a couple of issues in the code:
1. Check that fields are static before attempting to read them.
Currently, if a non-static field's name starts with one of the
specified constant prefixes (by default, "CMD_" and "EVENT_")
we'd get an NPE.
2. Only read final fields.
Change-Id: I0e07c4c27a66180cbaf7f2b1c235daafc080863b
Diffstat (limited to 'docs/html/sdk/api_diff/19/changes')
0 files changed, 0 insertions, 0 deletions