Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/HeadsUpManagerImpl.java +3 −13 Original line number Diff line number Diff line Loading @@ -706,7 +706,7 @@ public class HeadsUpManagerImpl } private void updateHeadsUpFlow() { mHeadsUpNotificationRows.setValue(new HashSet<>(getHeadsUpEntryPhoneMap().values())); mHeadsUpNotificationRows.setValue(new HashSet<>(mHeadsUpEntryMap.values())); } @Override Loading @@ -732,11 +732,6 @@ public class HeadsUpManagerImpl return mHeadsUpAnimatingAway.getValue(); } @NonNull private ArrayMap<String, HeadsUpEntry> getHeadsUpEntryPhoneMap() { return mHeadsUpEntryMap; } /** * Called to notify the listeners that the HUN animating away animation has ended. */ Loading Loading @@ -1014,7 +1009,7 @@ public class HeadsUpManagerImpl @Override public void setRemoteInputActive( @NonNull NotificationEntry entry, boolean remoteInputActive) { HeadsUpEntry headsUpEntry = getHeadsUpEntryPhone(entry.getKey()); HeadsUpEntry headsUpEntry = mHeadsUpEntryMap.get(entry.getKey()); if (headsUpEntry != null && headsUpEntry.mRemoteInputActive != remoteInputActive) { headsUpEntry.mRemoteInputActive = remoteInputActive; if (ExpandHeadsUpOnInlineReply.isEnabled() && remoteInputActive) { Loading @@ -1029,11 +1024,6 @@ public class HeadsUpManagerImpl } } @Nullable private HeadsUpEntry getHeadsUpEntryPhone(@NonNull String key) { return mHeadsUpEntryMap.get(key); } @Override public void setGutsShown(@NonNull NotificationEntry entry, boolean gutsShown) { HeadsUpEntry headsUpEntry = getHeadsUpEntry(entry.getKey()); Loading Loading @@ -1125,7 +1115,7 @@ public class HeadsUpManagerImpl return true; } HeadsUpEntry headsUpEntry = getHeadsUpEntryPhone(key); HeadsUpEntry headsUpEntry = mHeadsUpEntryMap.get(key); HeadsUpEntry topEntry = getTopHeadsUpEntryPhone(); if (headsUpEntry == null || headsUpEntry != topEntry) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/headsup/HeadsUpManagerImpl.java +3 −13 Original line number Diff line number Diff line Loading @@ -706,7 +706,7 @@ public class HeadsUpManagerImpl } private void updateHeadsUpFlow() { mHeadsUpNotificationRows.setValue(new HashSet<>(getHeadsUpEntryPhoneMap().values())); mHeadsUpNotificationRows.setValue(new HashSet<>(mHeadsUpEntryMap.values())); } @Override Loading @@ -732,11 +732,6 @@ public class HeadsUpManagerImpl return mHeadsUpAnimatingAway.getValue(); } @NonNull private ArrayMap<String, HeadsUpEntry> getHeadsUpEntryPhoneMap() { return mHeadsUpEntryMap; } /** * Called to notify the listeners that the HUN animating away animation has ended. */ Loading Loading @@ -1014,7 +1009,7 @@ public class HeadsUpManagerImpl @Override public void setRemoteInputActive( @NonNull NotificationEntry entry, boolean remoteInputActive) { HeadsUpEntry headsUpEntry = getHeadsUpEntryPhone(entry.getKey()); HeadsUpEntry headsUpEntry = mHeadsUpEntryMap.get(entry.getKey()); if (headsUpEntry != null && headsUpEntry.mRemoteInputActive != remoteInputActive) { headsUpEntry.mRemoteInputActive = remoteInputActive; if (ExpandHeadsUpOnInlineReply.isEnabled() && remoteInputActive) { Loading @@ -1029,11 +1024,6 @@ public class HeadsUpManagerImpl } } @Nullable private HeadsUpEntry getHeadsUpEntryPhone(@NonNull String key) { return mHeadsUpEntryMap.get(key); } @Override public void setGutsShown(@NonNull NotificationEntry entry, boolean gutsShown) { HeadsUpEntry headsUpEntry = getHeadsUpEntry(entry.getKey()); Loading Loading @@ -1125,7 +1115,7 @@ public class HeadsUpManagerImpl return true; } HeadsUpEntry headsUpEntry = getHeadsUpEntryPhone(key); HeadsUpEntry headsUpEntry = mHeadsUpEntryMap.get(key); HeadsUpEntry topEntry = getTopHeadsUpEntryPhone(); if (headsUpEntry == null || headsUpEntry != topEntry) { Loading