summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Ben Lin <linben@google.com> 2025-01-15 01:03:11 +0000
committer Ben Lin <linben@google.com> 2025-01-15 01:03:11 +0000
commit94119c03fc3afbf90e341b328ab4f81811fbaa46 (patch)
treed1824d68c9345f97e6c14f424d228c22e4e949f6 /libs/androidfw/ResourceTimer.cpp
parent35662ba909055a5a8c83b702653a1979137ce4f1 (diff)
Fix NPE in Desktop tests when secondary display bug fix flag is on.
This pulls a context from the DisplayController, which needs to be explicitly set as returned given that it's a mock in tests. Test: atest Bug: 382023296 Flag: com.android.window.flags.enable_bug_fixes_for_secondary_display Change-Id: I55e3267dc4cdbaa9f45474c866e2d8250e3cb896
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions