Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98be38b5 authored by Grace Jia's avatar Grace Jia Committed by Automerger Merge Worker
Browse files

Add timeout limitation to Ringer#startRinging and avoid using Telecom am: 857bbcad am: b9f1557d

Change-Id: I979609d671380b018a33e3c7fcce30d2e93bdc1f
parents a3f1d0a3 b9f1557d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -295,4 +295,8 @@ public class DefaultDialerCache {
    public ContentObserver getContentObserver() {
        return mDefaultDialerObserver;
    }

    public RoleManagerAdapter getRoleManagerAdapter() {
        return mRoleManagerAdapter;
    }
}
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -1705,7 +1705,7 @@ public class InCallController extends CallsManagerListenerBase {

        if (TextUtils.isEmpty(ringingPackage)) {
            // The current in-call UI returned nothing, so lets use the default dialer.
            ringingPackage = mDefaultDialerCache.getDefaultDialerApplication(
            ringingPackage = mDefaultDialerCache.getRoleManagerAdapter().getDefaultDialerApp(
                    mCallsManager.getCurrentUserHandle().getIdentifier());
            if (ringingPackage != null) {
                Log.d(this, "doesConnectedDialerSupportRinging: notCurentlyConnectedPackage=%s",