summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Xiaowen Lei <xilei@google.com> 2024-09-04 17:35:49 +0000
committer Xiaowen Lei <xilei@google.com> 2024-09-04 21:48:39 +0000
commit51f6923b23ad06cb843ac0b7fbd06d97054bc93b (patch)
tree9ea164e5f64a43b6ed24dac35fff53d497f1fc40 /libs/input/PointerController.cpp
parent42864cfb35bb2940264ffe88db1464586b11fac6 (diff)
Fix EnRouteView expand button not expanding issue.
The id of the top view needs to be @*android:id/status_bar_latest_event_content. This is because NotificationViewWrapper.wrap() uses `v.getId() == com.android.internal.R.id.status_bar_latest_event_content` when deciding which wrapper to use. We need NotificationTemplateViewWrapper here (instead of NotificationViewWrapper) for the expand button to work, among other things. Note that this means the same id is used twice in the view hierarchy. This seems to be working fine given how these ids are used currently. Added an initial expanded layout (copied from the big_base layout) for testing the expand button. Flag: android.app.api_rich_ongoing Flag: com.android.systemui.notification_row_content_binder_refactor Bug: 343942780 Bug: 359128724 Bug: 359920094 Test: EnRouteViewModelTest Test: Trigger example EnRouteStyle notification on device Change-Id: I6b3f7af1b7fbf0e48db2cf1ab3fa6415ffeb47f2
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions