Merge "Make getter & setting names consistent."
This commit is contained in:
committed by
Android (Google) Code Review
commit
3a7c696fc5
@@ -4954,9 +4954,9 @@ package android.app {
|
||||
ctor public Notification(android.os.Parcel);
|
||||
method public android.app.Notification clone();
|
||||
method public int describeContents();
|
||||
method public java.lang.String getChannel();
|
||||
method public java.lang.String getGroup();
|
||||
method public android.graphics.drawable.Icon getLargeIcon();
|
||||
method public java.lang.String getNotificationChannel();
|
||||
method public android.graphics.drawable.Icon getSmallIcon();
|
||||
method public java.lang.String getSortKey();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
|
||||
@@ -5107,9 +5107,9 @@ package android.app {
|
||||
ctor public Notification(android.os.Parcel);
|
||||
method public android.app.Notification clone();
|
||||
method public int describeContents();
|
||||
method public java.lang.String getChannel();
|
||||
method public java.lang.String getGroup();
|
||||
method public android.graphics.drawable.Icon getLargeIcon();
|
||||
method public java.lang.String getNotificationChannel();
|
||||
method public android.graphics.drawable.Icon getSmallIcon();
|
||||
method public java.lang.String getSortKey();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
|
||||
@@ -4964,9 +4964,9 @@ package android.app {
|
||||
ctor public Notification(android.os.Parcel);
|
||||
method public android.app.Notification clone();
|
||||
method public int describeContents();
|
||||
method public java.lang.String getChannel();
|
||||
method public java.lang.String getGroup();
|
||||
method public android.graphics.drawable.Icon getLargeIcon();
|
||||
method public java.lang.String getNotificationChannel();
|
||||
method public android.graphics.drawable.Icon getSmallIcon();
|
||||
method public java.lang.String getSortKey();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
|
||||
@@ -2239,7 +2239,7 @@ public class Notification implements Parcelable
|
||||
/**
|
||||
* Returns the id of the channel this notification posts to.
|
||||
*/
|
||||
public String getNotificationChannel() {
|
||||
public String getChannel() {
|
||||
return mChannelId;
|
||||
}
|
||||
|
||||
|
||||
@@ -2722,7 +2722,7 @@ public class NotificationManagerService extends SystemService {
|
||||
+ " id=" + id + " notification=" + notification);
|
||||
}
|
||||
final NotificationChannel channel = mRankingHelper.getNotificationChannelWithFallback(pkg,
|
||||
callingUid, notification.getNotificationChannel());
|
||||
callingUid, notification.getChannel());
|
||||
final StatusBarNotification n = new StatusBarNotification(
|
||||
pkg, opPkg, channel, id, tag, callingUid, callingPid, notification,
|
||||
user, null, System.currentTimeMillis());
|
||||
|
||||
@@ -283,7 +283,7 @@ public final class NotificationRecord {
|
||||
pw.println(prefix + " mVisibleSinceMs=" + mVisibleSinceMs);
|
||||
pw.println(prefix + " mUpdateTimeMs=" + mUpdateTimeMs);
|
||||
pw.println(prefix + " mSuppressedVisualEffects= " + mSuppressedVisualEffects);
|
||||
pw.println(prefix + " notificationChannel= " + notification.getNotificationChannel());
|
||||
pw.println(prefix + " notificationChannel= " + notification.getChannel());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user