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

Skip to content
Commit 683fe045 authored by Melody Hsu's avatar Melody Hsu
Browse files

Pass state instead of unsafe display on binder

Accessing display from pickBestDataspace may be unsafe
without mStateLock. The display was originally used to
get the OutputCompositionState, which can instead be
passed in directly. There is no need to check for a null
display in this method anymore because the caller of this
function already has the correct default value.

Bug: b/294936197
Test: presubmit
Change-Id: I10ce68a75f91d14fb18f457ac4eebb2ed54fe09a
parent 893b2bae
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