commit | f87292fa523bf59e32331c4333aa01d9f85c69d1 | [log] [tgz] |
---|---|---|
author | Malcolm Chen <refuhoo@google.com> | Mon Sep 23 14:06:19 2019 -0700 |
committer | Malcolm Chen <refuhoo@google.com> | Mon Oct 14 14:19:05 2019 -0700 |
tree | 6daaf5176e34415d99db6296b4ed04f98e876f29 | |
parent | 1eb939c90fc409708dbca99d6652a44fea048cb8 [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: I3064eb616371f60776a2930c113582562d206123 Merged-In: I3064eb616371f60776a2930c113582562d206123