Merge "Fix SystemCaptionsManagerService to re-bind after a force stop" into rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2f4d456c2c
@@ -948,7 +948,7 @@ public abstract class AbstractMasterSystemService<M extends AbstractMasterSystem
|
||||
if (debug) {
|
||||
Slog.d(mTag, "Eagerly recreating service for user " + userId);
|
||||
}
|
||||
getServiceForUserLocked(userId);
|
||||
updateCachedServiceLocked(userId);
|
||||
}
|
||||
}
|
||||
onServicePackageRestartedLocked(userId);
|
||||
|
||||
@@ -34,7 +34,8 @@ public final class SystemCaptionsManagerService extends
|
||||
context,
|
||||
com.android.internal.R.string.config_defaultSystemCaptionsManagerService),
|
||||
/*disallowProperty=*/ null,
|
||||
/*packageUpdatePolicy=*/ PACKAGE_UPDATE_POLICY_REFRESH_EAGER);
|
||||
/*packageUpdatePolicy=*/ PACKAGE_UPDATE_POLICY_REFRESH_EAGER
|
||||
| PACKAGE_RESTART_POLICY_REFRESH_EAGER);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user