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

Skip to content
Commit 74978e1d authored by Xiang Wang's avatar Xiang Wang
Browse files

Mock init of PowerHalController in test

We have injected a MockedPowerHalController in PowerAdvisorTest, but it
will always run init once, which will try to connect a real PowerHAL.
This was resulting in a few error logs like SELinux denials.

Bug: 280438886
Test: libsurfaceflinger_unittest
Change-Id: Icbd0289cbeba95582eed01e61dcb748e2e167c24
parent 635339c5
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