ril: service: Get off my back
authorPaul Keith <javelinanddart@gmail.com>
Tue, 6 Mar 2018 19:19:57 +0000 (20:19 +0100)
committerChristopher N. Hesse <raymanfx@gmail.com>
Tue, 6 Mar 2018 19:25:04 +0000 (19:25 +0000)
commit96ff312382283099861f66ed101c509409abb76b
tree9bbaccf1f0b2265b1a8594eb9dffebf5ed6a8c60
parentd26f4c920fbfffe4df90a1c82a6f46ad006e653b
ril: service: Get off my back

* Checking numInts and numStrings for strict equality when
  we're not looping is dumb, because Samsung is notorious
  for sending extra information in their RIL
* Check if there's *enough* data rather than the *exact amount*
  to fix a bunch of invalid response errors

Change-Id: I14bc37240e5760b4629fcb74b64f25ad95d4fdfc
ril/libril/ril_service.cpp