Do not get CM instance in getActiveModemCount unless needed.
TM#getActiveModemCount might be called before ConnectivityService is initialized. So do not try to get ConnectivityService instance unless it's needed (very rarely). Otherwise it will throw WTF exception. Bug: 144373595 Test: sanity Change-Id: I7a90ec45a0a3700a0c6852c505d68f438f26768c Merged-In: I7a90ec45a0a3700a0c6852c505d68f438f26768c
Loading
Please register or sign in to comment