commit | 2bc637ecb96f9c7e9845b29a7d6d53d2af587ccb | [log] [tgz] |
---|---|---|
author | Amit Mahajan <amitmahajan@google.com> | Fri May 17 10:48:00 2019 -0700 |
committer | Amit Mahajan <amitmahajan@google.com> | Thu Jun 13 14:30:40 2019 -0700 |
tree | 131a4582664d10cfccc82f1e891ef0a3b7697c9e | |
parent | 781ac9ef8e367c1ba0e192cd580462a717410adc [diff] |
Fix the default sub id returned by SmsManager. SmsManager.getDefaultSmsSubscriptionId() did not handle the case of no default set with a single SIM present. This CL adds the handling for that. Test: manual SMS sanity on single sim and DSDS devices Bug: 132259056 Merged-in: I72ee7af9f0b2662e1ac26b7d3db60c667d06c471 Change-Id: I72ee7af9f0b2662e1ac26b7d3db60c667d06c471 (cherry picked from commit 1c0a7a16c14e97c7c6428e57ef3ee8955ea2d509)