aboutsummaryrefslogtreecommitdiffstats
path: root/AndroidProducts.mk
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2015-11-06 13:40:00 +0530
committerAndreas Blaesius <skate4life@gmx.de>2016-02-21 11:08:42 -0800
commit976e03f7ed3d46f4ebbab4056625947b7190433d (patch)
tree027c6e787b021b82ff328e830d5dde25edcefb59 /AndroidProducts.mk
parent1be173a955249ba3999e82c78946296d4d9c2f47 (diff)
downloaddevice_samsung_espresso3g-976e03f7ed3d46f4ebbab4056625947b7190433d.zip
device_samsung_espresso3g-976e03f7ed3d46f4ebbab4056625947b7190433d.tar.gz
device_samsung_espresso3g-976e03f7ed3d46f4ebbab4056625947b7190433d.tar.bz2
Fix RIL_Init ending unexpectedly when passed unknown args
When libsec-ril receives an unknown argument, RIL_Init completely aborts early. With Android 5.0 and up, a "client id" argument is passed (via '-c' param), but libsec-ril's getopt call uses "p:d:s:", and anything not '-p' '-d' or '-s' jumps to the end of RIL_Init. By passing '--' before '-c', getopt ignores what's left and signals it's done. Currently there's no extra args passed after rild.libargs other than '-c', but even if that were to change in the future this change would still be required for RIL_Init to work. Change-Id: I7bd4d74cb23ff1624016ae3a1178407a885758d4
Diffstat (limited to 'AndroidProducts.mk')
0 files changed, 0 insertions, 0 deletions