commit | e16cda20aceb79e851df5900c7932e835fe5ac07 | [log] [tgz] |
---|---|---|
author | Malcolm Chen <refuhoo@google.com> | Thu Sep 19 18:40:24 2019 -0700 |
committer | Malcolm Chen <refuhoo@google.com> | Mon Oct 14 12:07:46 2019 -0700 |
tree | 713cf3b42ccc61dc4bce042031db092cdc205e4d | |
parent | 3fa9bff9cdbb4b650f1ba7daaf68d94dacb03b19 [diff] |
Replace getPhoneCount with getMaxPhoneCount upon object allocation. As first step for smooth single SIM to DSDS switch, for DSDS capable deviced we always allocate objects as if it's in DSDS mode. For example there will be two Phone objects. Later we'll evaluate to make the allocations dynamic to save memory. Bug: 141388730 Test: unittest and manual Change-Id: I9a99853a22de0a4a78fd4ca622faddcdba3f8e06 Merged-In: I9a99853a22de0a4a78fd4ca622faddcdba3f8e06