Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: robotest & manual Change-Id: I890335a0c0e31f7d3ea32c6130482e4ef0e20b88
This commit is contained in:
@@ -294,7 +294,7 @@ public class AccountSyncSettings extends AccountPreferenceBase {
|
||||
}
|
||||
// if we're enabling sync, this will request a sync as well
|
||||
ContentResolver.setSyncAutomaticallyAsUser(account, authority, syncOn, userId);
|
||||
// if the master sync switch is off, the request above will
|
||||
// if the primary sync switch is off, the request above will
|
||||
// get dropped. when the user clicks on this toggle,
|
||||
// we want to force the sync, however.
|
||||
if (!ContentResolver.getMasterSyncAutomaticallyAsUser(userId) || !syncOn) {
|
||||
|
Reference in New Issue
Block a user