Merge "Dialing phone state should update active sub" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7243bacdfc
@@ -215,7 +215,9 @@ class GnssNetworkConnectivityHandler {
|
|||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void onPreciseCallStateChanged(PreciseCallState state) {
|
public void onPreciseCallStateChanged(PreciseCallState state) {
|
||||||
if (state.PRECISE_CALL_STATE_ACTIVE == state.getForegroundCallState()) {
|
if (PreciseCallState.PRECISE_CALL_STATE_ACTIVE == state.getForegroundCallState()
|
||||||
|
|| PreciseCallState.PRECISE_CALL_STATE_DIALING
|
||||||
|
== state.getForegroundCallState()) {
|
||||||
mActiveSubId = mSubId;
|
mActiveSubId = mSubId;
|
||||||
if (DEBUG) Log.d(TAG, "mActiveSubId: " + mActiveSubId);
|
if (DEBUG) Log.d(TAG, "mActiveSubId: " + mActiveSubId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user