Fixed bugs when deliver GnssMeasurement from N-HAL
There're two major problems that prevents GnssMeasurement from N-HAL from
delivering to Java-side correct:
1. The size check of HAL-provided GnssData is wrong. So native code rejects all
valid GnssData.
2. The svid's data type is different between HAL-side and Java-side. Therefore
an explicit type casting is required.
This CL fixes those problems, together with a few typo fixes.
Bug: 28169973
Change-Id: Id0c2cc120387970564b840cfcbdcb6f329c7e543
1 file changed