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 committed 2018-01-13 16:10:33 +00:00
1 parent 15dc35ce3f
commit 9f082604b0
4 files changed
+11 -11

No files matched your search

@@ -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;
}