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

Commit 3785605a authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Make getter & setting names consistent.

Test: runtest systemui-notification
Change-Id: Iff746f0ae149d1b09792e240503db9d008fe267c
parent 126dd25d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -4954,9 +4954,9 @@ package android.app {
    ctor public Notification(android.os.Parcel);
    ctor public Notification(android.os.Parcel);
    method public android.app.Notification clone();
    method public android.app.Notification clone();
    method public int describeContents();
    method public int describeContents();
    method public java.lang.String getChannel();
    method public java.lang.String getGroup();
    method public java.lang.String getGroup();
    method public android.graphics.drawable.Icon getLargeIcon();
    method public android.graphics.drawable.Icon getLargeIcon();
    method public java.lang.String getNotificationChannel();
    method public android.graphics.drawable.Icon getSmallIcon();
    method public android.graphics.drawable.Icon getSmallIcon();
    method public java.lang.String getSortKey();
    method public java.lang.String getSortKey();
    method public void writeToParcel(android.os.Parcel, int);
    method public void writeToParcel(android.os.Parcel, int);
+1 −1
Original line number Original line Diff line number Diff line
@@ -5107,9 +5107,9 @@ package android.app {
    ctor public Notification(android.os.Parcel);
    ctor public Notification(android.os.Parcel);
    method public android.app.Notification clone();
    method public android.app.Notification clone();
    method public int describeContents();
    method public int describeContents();
    method public java.lang.String getChannel();
    method public java.lang.String getGroup();
    method public java.lang.String getGroup();
    method public android.graphics.drawable.Icon getLargeIcon();
    method public android.graphics.drawable.Icon getLargeIcon();
    method public java.lang.String getNotificationChannel();
    method public android.graphics.drawable.Icon getSmallIcon();
    method public android.graphics.drawable.Icon getSmallIcon();
    method public java.lang.String getSortKey();
    method public java.lang.String getSortKey();
    method public void writeToParcel(android.os.Parcel, int);
    method public void writeToParcel(android.os.Parcel, int);
+1 −1
Original line number Original line Diff line number Diff line
@@ -4964,9 +4964,9 @@ package android.app {
    ctor public Notification(android.os.Parcel);
    ctor public Notification(android.os.Parcel);
    method public android.app.Notification clone();
    method public android.app.Notification clone();
    method public int describeContents();
    method public int describeContents();
    method public java.lang.String getChannel();
    method public java.lang.String getGroup();
    method public java.lang.String getGroup();
    method public android.graphics.drawable.Icon getLargeIcon();
    method public android.graphics.drawable.Icon getLargeIcon();
    method public java.lang.String getNotificationChannel();
    method public android.graphics.drawable.Icon getSmallIcon();
    method public android.graphics.drawable.Icon getSmallIcon();
    method public java.lang.String getSortKey();
    method public java.lang.String getSortKey();
    method public void writeToParcel(android.os.Parcel, int);
    method public void writeToParcel(android.os.Parcel, int);
+1 −1
Original line number Original line Diff line number Diff line
@@ -2239,7 +2239,7 @@ public class Notification implements Parcelable
    /**
    /**
     * Returns the id of the channel this notification posts to.
     * Returns the id of the channel this notification posts to.
     */
     */
    public String getNotificationChannel() {
    public String getChannel() {
        return mChannelId;
        return mChannelId;
    }
    }


+1 −1
Original line number Original line Diff line number Diff line
@@ -2722,7 +2722,7 @@ public class NotificationManagerService extends SystemService {
                    + " id=" + id + " notification=" + notification);
                    + " id=" + id + " notification=" + notification);
        }
        }
        final NotificationChannel channel =  mRankingHelper.getNotificationChannelWithFallback(pkg,
        final NotificationChannel channel =  mRankingHelper.getNotificationChannelWithFallback(pkg,
                callingUid, notification.getNotificationChannel());
                callingUid, notification.getChannel());
        final StatusBarNotification n = new StatusBarNotification(
        final StatusBarNotification n = new StatusBarNotification(
                pkg, opPkg, channel, id, tag, callingUid, callingPid, notification,
                pkg, opPkg, channel, id, tag, callingUid, callingPid, notification,
                user, null, System.currentTimeMillis());
                user, null, System.currentTimeMillis());
Loading