summaryrefslogtreecommitdiff
path: root/src/com
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-01-29 09:10:49 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-01-29 09:10:49 +0000
commitfef9e496e4ad7c703179dcbc85d8d31a7ec466bc (patch)
tree89e014a55d3d22ad7b48008c90a24cb2ba178986 /src/com
parentafeccff350431c2b95efc5c2d9e79c0ba6c0398e (diff)
parent97fccaea855d4bb41495eb2707905a02744dca2c (diff)
downloadStk-fef9e496e4ad7c703179dcbc85d8d31a7ec466bc.tar.gz
Merge "Consider that inactive Modem can be activated in run time"
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/stk/StkMenuConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/stk/StkMenuConfig.java b/src/com/android/stk/StkMenuConfig.java
index 5414a6a..b65b3c8 100644
--- a/src/com/android/stk/StkMenuConfig.java
+++ b/src/com/android/stk/StkMenuConfig.java
@@ -153,7 +153,7 @@ public class StkMenuConfig {
private void initialize(Context context) {
mContext = context;
mArray = new ArrayList<Config>();
- mConfigs = new Config[TelephonyManager.from(mContext).getSimCount()];
+ mConfigs = new Config[TelephonyManager.from(mContext).getSupportedModemCount()];
XmlResourceParser parser = mContext.getResources().getXml(R.xml.menu_conf);