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

Commit e24e12df authored by Siddharth Ray's avatar Siddharth Ray Committed by android-build-merger
Browse files

Merge "Added Channel for Network Initiated Notifications" into oc-dev

am: 84ed81ed

Change-Id: Idfc023f7e06242f778ec8530e61aab29143e9b31
parents 8433705f 84ed81ed
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)