From 518980587b07447894e9176157f2ea38ae106c2b Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Tue, 2 Aug 2022 13:54:51 +0000 Subject: RESTRICT AUTOMERGE: Fix build breakage from merge conflict. Merging 8ce3c53fcf641e4bcec73376542767bbc04e79a1 into qt-qpr1-dev resulted in a merge conflict due to a method being moved between qt-qpr1-dev and rvc-dev, such that the patch backported from rvc-dev didn't match at all. Removing the old method makes this branch match qt-dev and rvc-dev. Test: will use abtd to validate the build and the resulting logic. Original changes: Id82d20c9f1f2001400871b5381f52b40fbdf81c5 Original Bug: 231322873 Breakage Bug: 241087006 Change-Id: Ic4f8d701d97aa9b6c72875df8c7eab5fd51934e0 --- .../notification/NotificationInterruptionStateProvider.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInterruptionStateProvider.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInterruptionStateProvider.java index 0723f762015c..a3f4db6f3fcd 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInterruptionStateProvider.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInterruptionStateProvider.java @@ -492,19 +492,6 @@ public class NotificationInterruptionStateProvider { return mPresenter; } - /** - * When an entry was added, should we launch its fullscreen intent? Examples are Alarms or - * incoming calls. - * - * @param entry the entry that was added - * @return {@code true} if we should launch the full screen intent - */ - public boolean shouldLaunchFullScreenIntentWhenAdded(NotificationEntry entry) { - return entry.notification.getNotification().fullScreenIntent != null - && (!shouldHeadsUp(entry) - || mStatusBarStateController.getState() == StatusBarState.KEYGUARD); - } - /** A component which can suppress heads-up notifications due to the overall state of the UI. */ public interface HeadsUpSuppressor { /** -- cgit v1.2.3-59-g8ed1b