summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Biswarup Pal <biswarupp@google.com> 2025-02-27 14:33:30 +0000
committer Biswarup Pal <biswarupp@google.com> 2025-02-28 02:22:46 -0800
commitb3c408f77b4d923553d9b1e277f57c56b90174f9 (patch)
treec4f70f4331dcd51312c81c8d1c2e952cf313fe23 /libs/androidfw/FileStream.cpp
parentd9b9b084fde83eade2019e28124e4c4b953befd7 (diff)
Avoid binder call during ContextImple#updateResourceOverlayConstraints
ContextImpl#updateResourceOverlayConstraints requires displayId and deviceId. We were fetching displayId using ContextImpl#getDisplay, which makes a binder call into DisplayManagerService if the relevant DisplayInfo is not cached in DisplayManagerGlobal. This change avoids calling ContextImpl#getDisplay and calculates the displayId using mDisplay member directly. Test: atest OverlayConstraintsTests Fixes: 398926802 Flag: EXEMPT bugfix Change-Id: I269bacc5050c018da5da7b6eb979c4687645efd9
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions