diff options
author | Diogo Ferreira <defer@cyngn.com> | 2016-02-09 11:54:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-02-09 11:46:19 -0800 |
commit | d436b02a4b8748c75ce69bb2737868e0d582bb78 (patch) | |
tree | cf00bf230408b2753c58bab6cf818b66515b6629 /src/com/android/settings/profiles | |
parent | d24320c102a754c3604f6852a796d1b829a9444a (diff) | |
download | packages_apps_Settings-d436b02a4b8748c75ce69bb2737868e0d582bb78.zip packages_apps_Settings-d436b02a4b8748c75ce69bb2737868e0d582bb78.tar.gz packages_apps_Settings-d436b02a4b8748c75ce69bb2737868e0d582bb78.tar.bz2 |
SimDialogActivity: Check whether there is no default sub
On an out-of-the-box device, no data subscription will be
selected by default. If a single SIM is added, it will
become the default data subscription but if two sims are
added at the same time there will be no default.
In this case, this dialog will crash because it's trying
to get the subscription id from a null default. This patch
short-circuits the clause to always update if there is no
default.
Change-Id: Icd4dffaf918d43d85f807cd6a14f93abb118eca4
Ticket: CYNGNOS-1940
Diffstat (limited to 'src/com/android/settings/profiles')
0 files changed, 0 insertions, 0 deletions