Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b3c408f7 authored by Biswarup Pal's avatar Biswarup Pal
Browse files

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
parent d9b9b084
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment