Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ...

the feedback from API council

Fix: 71818127

Test: Build
Change-Id: I4bfb0eecb281961e24a4f613485420e9e8b357ab
This commit is contained in:
Tony Mak
2018-01-12 12:13:18 +00:00
parent 15dc35ce3f
commit 9f082604b0
4 changed files with 11 additions and 11 deletions

View File

@@ -91,7 +91,7 @@ public class WorkModeSwitch extends Switch {
if (Process.myUserHandle().equals(userProfile)) {
continue;
}
showConfirm |= !userManager.trySetQuietModeEnabled(enabled, userProfile);
showConfirm |= !userManager.requestQuietModeEnabled(enabled, userProfile);
}
return showConfirm;
}