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

Commit d1c45f50 authored by Andrew Lee's avatar Andrew Lee
Browse files

Notify current user of missed calls.

Bug: 17950718
Change-Id: Idd8201b4ea60d597c776cd390bd385deb292e033
parent aa479376
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.UserHandle;
import android.provider.CallLog;
import android.provider.CallLog.Calls;
import android.telecom.CallState;
@@ -166,7 +167,8 @@ class MissedCallNotifier extends CallsManagerListenerBase {
        configureLedOnNotification(notification);

        Log.i(this, "Adding missed call notification for %s.", call);
        mNotificationManager.notify(MISSED_CALL_NOTIFICATION_ID, notification);
        mNotificationManager.notifyAsUser(
                null /* tag */ , MISSED_CALL_NOTIFICATION_ID, notification, UserHandle.CURRENT);
    }

    /** Cancels the "missed call" notification. */