diff options
author | Saki Oomori <saki.x.oomori@sony.com> | 2018-06-21 12:12:19 +0900 |
---|---|---|
committer | Masaya Nemoto <Masaya.Nemoto@sony.com> | 2018-08-21 08:50:33 +0000 |
commit | bf7d22f3cde0cd43edc30360ea504da3048f4a30 (patch) | |
tree | 282de62ba73390fe18c6362658a18bf6c8d18e59 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fc38791616b155d9bb1353fb217993381b890f46 (diff) |
Fix to read Tethering APN data terminated by empty parameters correctly
If Tethering APN data is terminated by empty parameters(",,,"), the
tethering APN data is not read correctly from configuration file.
Because second argument of split() is not set in ApnSetting.java, these
empty parameters are ignored and an error occurs during parameter length
check later.
To fix this, second argument of split() should be set as "-1".
Bug: 112876857
Test: manual - Checked that Tethering APN data could be read correctly.
Change-Id: I18be0131287dc927334d51522f1c816da83d4add
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions