Loading src/com/android/server/telecom/Call.java +10 −0 Original line number Diff line number Diff line Loading @@ -1422,6 +1422,10 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, } } public Uri getContactPhotoUri() { return mCallerInfo != null ? mCallerInfo.getContactDisplayPhotoUri() : null; } public String getCallerDisplayName() { return mCallerDisplayName; } Loading @@ -1441,6 +1445,12 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, } } void setContactPhotoUri(Uri contactPhotoUri) { if (mCallerInfo != null) { mCallerInfo.SetContactDisplayPhotoUri(contactPhotoUri); } } public String getName() { return mCallerInfo == null ? null : mCallerInfo.getName(); } Loading src/com/android/server/telecom/InCallController.java +1 −0 Original line number Diff line number Diff line Loading @@ -2170,6 +2170,7 @@ public class InCallController extends CallsManagerListenerBase implements // removing the contactsDisplayName builder.setContactDisplayName(null); builder.setContactPhotoUri(null); // removing the Call.EXTRA_IS_SUPPRESSED_BY_DO_NOT_DISTURB extra if (parcelableCall.getExtras() != null) { Loading src/com/android/server/telecom/ParcelableCallUtils.java +3 −0 Original line number Diff line number Diff line Loading @@ -196,6 +196,8 @@ public class ParcelableCallUtils { String callerDisplayName = call.getCallerDisplayNamePresentation() == TelecomManager.PRESENTATION_ALLOWED ? call.getCallerDisplayName() : null; Uri contactPhotoUri = call.getContactPhotoUri(); List<Call> conferenceableCalls = call.getConferenceableCalls(); List<String> conferenceableCallIds = new ArrayList<String>(conferenceableCalls.size()); for (Call otherCall : conferenceableCalls) { Loading Loading @@ -255,6 +257,7 @@ public class ParcelableCallUtils { .setCallerNumberVerificationStatus(call.getCallerNumberVerificationStatus()) .setContactDisplayName(call.getName()) .setActiveChildCallId(activeChildCallId) .setContactPhotoUri(contactPhotoUri) .createParcelableCall(); } Loading Loading
src/com/android/server/telecom/Call.java +10 −0 Original line number Diff line number Diff line Loading @@ -1422,6 +1422,10 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, } } public Uri getContactPhotoUri() { return mCallerInfo != null ? mCallerInfo.getContactDisplayPhotoUri() : null; } public String getCallerDisplayName() { return mCallerDisplayName; } Loading @@ -1441,6 +1445,12 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, } } void setContactPhotoUri(Uri contactPhotoUri) { if (mCallerInfo != null) { mCallerInfo.SetContactDisplayPhotoUri(contactPhotoUri); } } public String getName() { return mCallerInfo == null ? null : mCallerInfo.getName(); } Loading
src/com/android/server/telecom/InCallController.java +1 −0 Original line number Diff line number Diff line Loading @@ -2170,6 +2170,7 @@ public class InCallController extends CallsManagerListenerBase implements // removing the contactsDisplayName builder.setContactDisplayName(null); builder.setContactPhotoUri(null); // removing the Call.EXTRA_IS_SUPPRESSED_BY_DO_NOT_DISTURB extra if (parcelableCall.getExtras() != null) { Loading
src/com/android/server/telecom/ParcelableCallUtils.java +3 −0 Original line number Diff line number Diff line Loading @@ -196,6 +196,8 @@ public class ParcelableCallUtils { String callerDisplayName = call.getCallerDisplayNamePresentation() == TelecomManager.PRESENTATION_ALLOWED ? call.getCallerDisplayName() : null; Uri contactPhotoUri = call.getContactPhotoUri(); List<Call> conferenceableCalls = call.getConferenceableCalls(); List<String> conferenceableCallIds = new ArrayList<String>(conferenceableCalls.size()); for (Call otherCall : conferenceableCalls) { Loading Loading @@ -255,6 +257,7 @@ public class ParcelableCallUtils { .setCallerNumberVerificationStatus(call.getCallerNumberVerificationStatus()) .setContactDisplayName(call.getName()) .setActiveChildCallId(activeChildCallId) .setContactPhotoUri(contactPhotoUri) .createParcelableCall(); } Loading