Loading InCallUI/src/com/android/incallui/Call.java +4 −0 Original line number Diff line number Diff line Loading @@ -385,6 +385,10 @@ public class Call { : getTelecommCall().getDetails().getCallerDisplayName(); } public Bundle getIntentExtras() { return mTelecommCall == null ? null : mTelecommCall.getDetails().getIntentExtras(); } public Bundle getExtras() { return mTelecommCall == null ? null : mTelecommCall.getDetails().getExtras(); } Loading InCallUI/src/com/android/incallui/InCallActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -577,7 +577,7 @@ public class InCallActivity extends Activity implements FragmentDisplayManager { Bundle extras = null; if (call != null) { extras = call.getTelecommCall().getDetails().getExtras(); extras = call.getTelecommCall().getDetails().getIntentExtras(); } if (extras == null) { // Initialize the extras bundle to avoid NPE Loading Loading @@ -613,7 +613,7 @@ public class InCallActivity extends Activity implements FragmentDisplayManager { if (pendingAccountSelectionCall != null) { showCallCardFragment(false); Bundle extras = pendingAccountSelectionCall .getTelecommCall().getDetails().getExtras(); .getTelecommCall().getDetails().getIntentExtras(); final List<PhoneAccountHandle> phoneAccountHandles; if (extras != null) { Loading InCallUI/src/com/android/incallui/InCallPresenter.java +2 −2 Original line number Diff line number Diff line Loading @@ -1127,7 +1127,7 @@ public class InCallPresenter implements CallList.Listener, */ public static boolean isCallWithNoValidAccounts(Call call) { if (call != null && !isEmergencyCall(call)) { Bundle extras = call.getExtras(); Bundle extras = call.getIntentExtras(); if (extras == null) { extras = EMPTY_EXTRAS; Loading Loading @@ -1161,7 +1161,7 @@ public class InCallPresenter implements CallList.Listener, private void setDisconnectCauseForMissingAccounts(Call call) { android.telecom.Call telecomCall = call.getTelecommCall(); Bundle extras = telecomCall.getDetails().getExtras(); Bundle extras = telecomCall.getDetails().getIntentExtras(); // Initialize the extras bundle to avoid NPE if (extras == null) { extras = new Bundle(); Loading Loading
InCallUI/src/com/android/incallui/Call.java +4 −0 Original line number Diff line number Diff line Loading @@ -385,6 +385,10 @@ public class Call { : getTelecommCall().getDetails().getCallerDisplayName(); } public Bundle getIntentExtras() { return mTelecommCall == null ? null : mTelecommCall.getDetails().getIntentExtras(); } public Bundle getExtras() { return mTelecommCall == null ? null : mTelecommCall.getDetails().getExtras(); } Loading
InCallUI/src/com/android/incallui/InCallActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -577,7 +577,7 @@ public class InCallActivity extends Activity implements FragmentDisplayManager { Bundle extras = null; if (call != null) { extras = call.getTelecommCall().getDetails().getExtras(); extras = call.getTelecommCall().getDetails().getIntentExtras(); } if (extras == null) { // Initialize the extras bundle to avoid NPE Loading Loading @@ -613,7 +613,7 @@ public class InCallActivity extends Activity implements FragmentDisplayManager { if (pendingAccountSelectionCall != null) { showCallCardFragment(false); Bundle extras = pendingAccountSelectionCall .getTelecommCall().getDetails().getExtras(); .getTelecommCall().getDetails().getIntentExtras(); final List<PhoneAccountHandle> phoneAccountHandles; if (extras != null) { Loading
InCallUI/src/com/android/incallui/InCallPresenter.java +2 −2 Original line number Diff line number Diff line Loading @@ -1127,7 +1127,7 @@ public class InCallPresenter implements CallList.Listener, */ public static boolean isCallWithNoValidAccounts(Call call) { if (call != null && !isEmergencyCall(call)) { Bundle extras = call.getExtras(); Bundle extras = call.getIntentExtras(); if (extras == null) { extras = EMPTY_EXTRAS; Loading Loading @@ -1161,7 +1161,7 @@ public class InCallPresenter implements CallList.Listener, private void setDisconnectCauseForMissingAccounts(Call call) { android.telecom.Call telecomCall = call.getTelecommCall(); Bundle extras = telecomCall.getDetails().getExtras(); Bundle extras = telecomCall.getDetails().getIntentExtras(); // Initialize the extras bundle to avoid NPE if (extras == null) { extras = new Bundle(); Loading