summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
author Michal Brzezinski <brzezinski@google.com> 2023-06-06 11:47:22 +0200
committer Michał Brzeziński <brzezinski@google.com> 2023-06-13 15:47:21 +0000
commit03756131ca33e62d2fb3ad37574a63164ac817c8 (patch)
tree4c5ed2c38763b832e2026d3d190f3b2b69ad7354 /libs/androidfw/BackupData.cpp
parent267665ed8288e7e61edc633aba8c233bff82613d (diff)
Moving setIsRootNamespace in notification one level higher
setIsRootNamespace was used to avoiding conflicts when we look for view by id but custom notifications layout happens to have view with the same id (b/13421971). Unfortunately it also breaks keyboard navigation - once user enters notification with keyboard, they can't leave it. The solution is to override focusSearch method but that can't be done on root view (id status_bar_latest_event_content) because it's coming from framework. That's why setIsRootNamespace is called on view one level higher - NotificationContentView and then we override focusSearch. Bug: 285554136 Test: PlatformScenarioTests:TabingThroughSplitShade Change-Id: I8a6f0bc9012df8f55eb1ad1cb4c3d44af537b18c
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions