Merge "Fix lock contention in Attention"

This commit is contained in:
Alex Salo
2020-10-06 19:35:37 +00:00
committed by Android (Google) Code Review

View File

@@ -172,7 +172,7 @@ public class AttentionManagerService extends SystemService {
*/
@VisibleForTesting
protected boolean isAttentionServiceSupported() {
return isServiceEnabled() && isServiceConfigured(mContext);
return isServiceEnabled();
}
private boolean isServiceEnabled() {