diff options
author | Brad Ebinger <breadley@google.com> | 2019-03-06 14:32:28 -0800 |
---|---|---|
committer | Brad Ebinger <breadley@google.com> | 2019-03-06 15:35:04 -0800 |
commit | e6de81fd25afb40590a9757e709fe835d99c7181 (patch) | |
tree | ce5b7dbca3d04c5fba5bc573abbe23022073bbd3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 8bf13f06d71f01b79752965526cbdf598c1067fd (diff) |
Fix NPE in SmsManager and keep existing behavior
The behavior of SmsManager#sendTextMessage changed,
we are blocking the sending of the SMS if there were no
subscriptions (i.e. no SIM scenario). This change
accidently introduced a NPE scenario in some cases.
Fixed NPE and removed SMS blocking code in SmsManager
to keep existing functionality the same.
Bug: 127338050
Test: atest GtsTelephonyTestCases
Change-Id: I71eefbc8e1619701e1b1d7b12c3c080c4ef376ef
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions