Loading src/com/android/server/telecom/CallsManager.java +28 −13 Original line number Diff line number Diff line Loading @@ -2450,6 +2450,7 @@ public class CallsManager extends Call.ListenerBase "needs account selection"); // Create our own instance to modify (since extras may be Bundle.EMPTY) Bundle newExtras = new Bundle(extras); if (mFeatureFlags.resolveHiddenDependenciesTwo()) { ArrayList<PhoneAccountHandle> accountsFromSuggestions = accountSuggestions .stream() Loading @@ -2463,6 +2464,20 @@ public class CallsManager extends Call.ListenerBase newExtras.putParcelableArrayList( android.telecom.Call.EXTRA_SUGGESTED_PHONE_ACCOUNTS, accountSuggestionArrayList); } else { // Legacy path: List<PhoneAccountHandle> accountsFromSuggestions = accountSuggestions .stream() .map(PhoneAccountSuggestion::getPhoneAccountHandle) .collect(Collectors.toList()); newExtras.putParcelableList( android.telecom.Call.AVAILABLE_PHONE_ACCOUNTS, accountsFromSuggestions); newExtras.putParcelableList( android.telecom.Call.EXTRA_SUGGESTED_PHONE_ACCOUNTS, accountSuggestions); } // Set a future in place so that we can proceed once the dialer replies. mPendingAccountSelection.put(callToPlace.getId(), new CompletableFuture<>()); Loading Loading
src/com/android/server/telecom/CallsManager.java +28 −13 Original line number Diff line number Diff line Loading @@ -2450,6 +2450,7 @@ public class CallsManager extends Call.ListenerBase "needs account selection"); // Create our own instance to modify (since extras may be Bundle.EMPTY) Bundle newExtras = new Bundle(extras); if (mFeatureFlags.resolveHiddenDependenciesTwo()) { ArrayList<PhoneAccountHandle> accountsFromSuggestions = accountSuggestions .stream() Loading @@ -2463,6 +2464,20 @@ public class CallsManager extends Call.ListenerBase newExtras.putParcelableArrayList( android.telecom.Call.EXTRA_SUGGESTED_PHONE_ACCOUNTS, accountSuggestionArrayList); } else { // Legacy path: List<PhoneAccountHandle> accountsFromSuggestions = accountSuggestions .stream() .map(PhoneAccountSuggestion::getPhoneAccountHandle) .collect(Collectors.toList()); newExtras.putParcelableList( android.telecom.Call.AVAILABLE_PHONE_ACCOUNTS, accountsFromSuggestions); newExtras.putParcelableList( android.telecom.Call.EXTRA_SUGGESTED_PHONE_ACCOUNTS, accountSuggestions); } // Set a future in place so that we can proceed once the dialer replies. mPendingAccountSelection.put(callToPlace.getId(), new CompletableFuture<>()); Loading