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

Commit c7db2377 authored by Lais Andrade's avatar Lais Andrade Committed by Simon Bowden
Browse files

Remove call to set wakeLock WorkSource from VibrationThread constructor

A new  VibrationThread might be created and dropped if the ongoing
thread takes long to be finished and a new vibration arrived to the
service.

The wakelock is only acquired when a thread starts, so move the calls to
configure the worksource to the run() method.

Fix: 193742818
Test: manual
Change-Id: I7d7953ec9e065bcec78110b44daf3ef57693164d
(cherry picked from commit 56663ddb)
Merged-In: I7d7953ec9e065bcec78110b44daf3ef57693164d
parent 9145f4a4
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