commit | 20fd10afd9091ca5d29d7d2fcea966c2203eadc6 | [log] [tgz] |
---|---|---|
author | Ruchir Rastogi <ruchirr@google.com> | Tue Mar 24 07:53:23 2020 -0700 |
committer | Ruchir Rastogi <ruchirr@google.com> | Tue Mar 24 07:57:51 2020 -0700 |
tree | 3c7eb10a557d1e2ae587a6b0726cfd97393ccc9e | |
parent | b48aebc22cc821451682a8f84ae1536d4cb6f153 [diff] |
Support ERROR_ATOM_ID_INVALID_POSITION Originally, the native implementation would discard everything clients wrote to the buffer before the setAtomId call. Thus, the atom id was always placed in the "correct position." However, for consistency with the Java implementation, we now allow write calls before setAtomId to occur and log an error in that case. Test: bit libstatssocket_test:* Bug: 152119205 Change-Id: Ib109c7a939a5ae92c1d5fc70aa647ac7390fadad