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

Commit 07ed57e9 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:...

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

Change-Id: I999ff4209d5f1e3680389452ec5ea3b112f2b37b
parents e8c1291f 69059b53
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",