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

Commit e6e7822e authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Merge "Fix inability to make work profile calls where no default dialer set."

am: 068caab7

Change-Id: I9001b47ba71bad3ba4ab4c9670415aec01e900d1
parents 0b175aa5 068caab7
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -6,6 +6,7 @@ import android.content.Context;
import android.content.Intent;
import android.content.Intent;
import android.net.Uri;
import android.net.Uri;
import android.os.Bundle;
import android.os.Bundle;
import android.os.Looper;
import android.os.Trace;
import android.os.Trace;
import android.os.UserHandle;
import android.os.UserHandle;
import android.os.UserManager;
import android.os.UserManager;
@@ -145,7 +146,9 @@ public class CallIntentProcessor {
            // Show the toast to warn user that it is a personal call though initiated in work
            // Show the toast to warn user that it is a personal call though initiated in work
            // profile.
            // profile.
            if (fixedInitiatingUser) {
            if (fixedInitiatingUser) {
                Toast.makeText(context, R.string.toast_personal_call_msg, Toast.LENGTH_LONG).show();
                Toast.makeText(context, Looper.getMainLooper(),
                        context.getString(R.string.toast_personal_call_msg),
                        Toast.LENGTH_LONG).show();
            }
            }
        } else {
        } else {
            Log.i(CallIntentProcessor.class,
            Log.i(CallIntentProcessor.class,