commit | 80fe541dea1e59d09a7b2a7301af7f4e3dcfbaa3 | [log] [tgz] |
---|---|---|
author | Malcolm Chen <refuhoo@google.com> | Mon Sep 23 14:06:19 2019 -0700 |
committer | Xiangyu/Malcolm Chen <refuhoo@google.com> | Mon Sep 23 23:15:32 2019 +0000 |
tree | 3056737c4d8a66b224868fa817d77006779d6d41 | |
parent | a80a7ac63a6d2c40d9cd1a530cea1b27ed43bd17 [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