summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorIris Chang <iris.chang@mediatek.com>2019-03-13 15:40:43 +0800
committerIris Chang <iris.chang@mediatek.com>2019-03-13 15:40:43 +0800
commitf0026eebfc2849c51232793707721338a2e06883 (patch)
treebf5ab790198f7fbda507b8eb70654bf3c06bbc17 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentda0ebedb47f9c1c7a6d49c506ff789aa45b175c6 (diff)
Should return the number of supported SIM cards
When multiple SIM is enabled, getSimCount() in TelephonyManager.java just returns 2 and it is not consistent with getPhoneCount(). For devices which support more than 2 SIMs, it will cause ArrayIndexOutOfBoundsException in the getInstance() function of CatService.java when thress SIMs are present. To fix this issue, we need to return the phone count in getSimCount() to synchronize both APIs. Bug: 126292874 Test: check if JE is fixed on a device which supports 3 SIMs Change-Id: I227f7d05349c1d0cf4c8bfa46c4e3b5f9bd42be9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions