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

Commit 1d355403 authored by Siddharth Ray's avatar Siddharth Ray
Browse files

Added Channel for Network Initiated Notifications

Bug=37659896

Change-Id: I1c04a9455c320330efbcb92c352fc31b16ed8378
parent 5f0e4365
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ import android.os.UserHandle;
import android.os.SystemProperties;
import android.util.Log;

import com.android.internal.notification.SystemNotificationChannels;
import com.android.internal.R;
import com.android.internal.telephony.GsmAlphabet;
import com.android.internal.telephony.TelephonyProperties;
@@ -364,7 +365,8 @@ public class GpsNetInitiatedHandler {

        // Construct Notification
        if (mNiNotificationBuilder == null) {
            mNiNotificationBuilder = new Notification.Builder(mContext)
            mNiNotificationBuilder = new Notification.Builder(mContext,
                SystemNotificationChannels.NETWORK_ALERTS)
                    .setSmallIcon(com.android.internal.R.drawable.stat_sys_gps_on)
                    .setWhen(0)
                    .setOngoing(true)