diff options
| author | 2023-10-16 14:40:46 +0000 | |
|---|---|---|
| committer | 2023-10-16 14:40:46 +0000 | |
| commit | d3f3084d75a6a1e02ddffd2487161fc76fb4270f (patch) | |
| tree | e428deb49e18317840938938960450b2e3d076dd | |
| parent | 1f233234b43bd80550384dc3f1ac079832ece692 (diff) | |
| parent | c3cd06a1010e9c9b508bb5d9900c4ea2ddcd559e (diff) | |
Merge "Focus and Close over Contoller instead of View" into main
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentView.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentView.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentView.java index a27a305428c4..60e75ff9e6e1 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationContentView.java @@ -1363,12 +1363,12 @@ public class NotificationContentView extends FrameLayout implements Notification result.mController.setPendingIntent(existingPendingIntent); } if (result.mController.updatePendingIntentFromActions(actions)) { - if (!result.mView.isActive()) { - result.mView.focus(); + if (!result.mController.isActive()) { + result.mController.focus(); } } else { - if (result.mView.isActive()) { - result.mView.close(); + if (result.mController.isActive()) { + result.mController.close(); } } } |