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

Commit 1cda67f8 authored by Christoph Studer's avatar Christoph Studer
Browse files

Notification: Only post-process legacy notifications

Bug: 16522199
Change-Id: I20330f946cee6569c249be1800c3a0e814d79efc
parent 19328fab
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import android.media.AudioManager;
import android.media.session.MediaSession;
import android.net.Uri;
import android.os.BadParcelableException;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
@@ -1910,7 +1911,8 @@ public class Notification implements Parcelable
            mPriority = PRIORITY_DEFAULT;
            mPeople = new ArrayList<String>();

            mColorUtil = NotificationColorUtil.getInstance();
            mColorUtil = context.getApplicationInfo().targetSdkVersion < Build.VERSION_CODES.L ?
                    NotificationColorUtil.getInstance() : null;
        }

        /**