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

Skip to content
Commit a1e77df7 authored by Albert Dai's avatar Albert Dai
Browse files

Bind voice interactor as visible foreground service when it is being used.

It can help the voice interactor and its binding processes being in at least foreground cpuset instead of restricted when the device is dreaming. When the device is dreaming and the voice interactor is being used, BIND_SCHEDULE_LIKE_TOP_APP can only make voice interactor being in top-app cpuset but does not change the proc state. BIND_TREAT_LIKE_VISIBLE_FOREGROUND_SERVICE can change the proc state of voice interactor to be FOREGROUND_SERVICE.

Bug 301613300
Test: invoke Assistant on a docked and locked Pixel Tablet, confirm :search cpuset becomes foreground.

Change-Id: I758535824b0d79790f028e19a1e78398233b3389
parent c668fc9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment