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

Commit 1bac4834 authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Update api name for clarity"

parents bb059583 c361d7b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44150,13 +44150,13 @@ package android.service.notification {
    method public boolean canBubble();
    method public boolean canShowBadge();
    method public android.app.NotificationChannel getChannel();
    method @Nullable public android.content.pm.ShortcutInfo getConversationShortcutInfo();
    method public int getImportance();
    method public CharSequence getImportanceExplanation();
    method public String getKey();
    method public long getLastAudiblyAlertedMillis();
    method public String getOverrideGroupKey();
    method public int getRank();
    method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo();
    method @NonNull public java.util.List<android.app.Notification.Action> getSmartActions();
    method @NonNull public java.util.List<java.lang.CharSequence> getSmartReplies();
    method public int getSuppressedVisualEffects();
+1 −1
Original line number Diff line number Diff line
@@ -1885,7 +1885,7 @@ public abstract class NotificationListenerService extends Service {
         * <p>This might be null even if the notification is a conversation notification, if
         * the posting app hasn't opted into the full conversation feature set yet.</p>
         */
        public @Nullable ShortcutInfo getShortcutInfo() {
        public @Nullable ShortcutInfo getConversationShortcutInfo() {
            return mShortcutInfo;
        }

+1 −1
Original line number Diff line number Diff line
@@ -42276,13 +42276,13 @@ package android.service.notification {
    method public boolean canBubble();
    method public boolean canShowBadge();
    method public android.app.NotificationChannel getChannel();
    method @Nullable public android.content.pm.ShortcutInfo getConversationShortcutInfo();
    method public int getImportance();
    method public CharSequence getImportanceExplanation();
    method public String getKey();
    method public long getLastAudiblyAlertedMillis();
    method public String getOverrideGroupKey();
    method public int getRank();
    method @Nullable public android.content.pm.ShortcutInfo getShortcutInfo();
    method @NonNull public java.util.List<android.app.Notification.Action> getSmartActions();
    method @NonNull public java.util.List<java.lang.CharSequence> getSmartReplies();
    method public int getSuppressedVisualEffects();
+1 −1
Original line number Diff line number Diff line
@@ -407,7 +407,7 @@ public class Bubble implements BubbleViewProvider {
        mInstanceId = entry.getStatusBarNotification().getInstanceId();
        mFlyoutMessage = extractFlyoutMessage(entry);
        if (entry.getRanking() != null) {
            mShortcutInfo = entry.getRanking().getShortcutInfo();
            mShortcutInfo = entry.getRanking().getConversationShortcutInfo();
            mIsVisuallyInterruptive = entry.getRanking().visuallyInterruptive();
            if (entry.getRanking().getChannel() != null) {
                mIsImportantConversation =
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ class ConversationNotificationProcessor @Inject constructor(
                    Notification.MessagingStyle.CONVERSATION_TYPE_IMPORTANT
                else
                    Notification.MessagingStyle.CONVERSATION_TYPE_NORMAL
        entry.ranking.shortcutInfo?.let { shortcutInfo ->
        entry.ranking.conversationShortcutInfo?.let { shortcutInfo ->
            messagingStyle.shortcutIcon = launcherApps.getShortcutIcon(shortcutInfo)
            shortcutInfo.label?.let { label ->
                messagingStyle.conversationTitle = label
Loading