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
Loading
Please register or sign in to comment