Commit Graph

4 Commits

Author SHA1 Message Date
Nadav Bar
762e0f9a2e Fix SystemCaptionsManagerService to re-bind after a force stop
This change also fixes a bug in AbstractMasterSystemService where
following a "force stop", the per-user service was not updated if PACKAGE_RESTART_POLICY_REFRESH_EAGER was specified. These behavior resulted with getServiceComponentName returning null and the service not being restarted.

Bug: 160735520
Bug: 160693548
Bug: 160644088
Change-Id: I2f66273bd90e9bb220f799d8ab3b024637b33c24
Test: Manually
2020-08-11 09:44:05 +03:00
Nadav Bar
173cbede02 Prevent SystemCaptionsManagerService init from blocking unlockUser
Test: Manually, verified that service starts and that wall time is
shorter in traces.
Bug: 151331469
Change-Id: Idce6597c9b3fa0c72d65335bb44f854dbb677d5a
2020-04-08 21:23:51 +00:00
Hui Yu
4fca9fc778 Add BIND_INCLUDE_CAPABILITIES flags to SystemCaptionsManagerService
When system process binds to SystemCaptionsManagerService, add BIND_INCLUDE_CAPABILITIES

Bug: 153144383
Test: adb shell dumpsys activity -a, observe com.google.android.as
process has capability 7.

Change-Id: I3284ac60a3032c68b378570ceb20129916445596
2020-04-03 13:52:40 -07:00
Robert Berry
e14120edf2 Add system captions manager service
This service connects to a remote system captions manager service. This
service is responsible for enabling system captions when the user
requests them. As the system binds to it, this service will be
persistent.

Bug: 128925852
Test: Manual. I created an implementation of the service.
Change-Id: Iafde1bb68f4754d8167624f47c6833d43c0ec336
2019-04-03 20:41:03 -04:00