Update the usage of quiet mode @hide API
BUG:70212757 Test: Settings -> Work profile settings -> Toggle work mode Test: Turn off work mode -> Settings -> Turn on work mode in the suggestion Change-Id: Ic5c2c5b141fb8be365c07c70ad1d0291342d7106
This commit is contained in:
@@ -91,7 +91,7 @@ public class WorkModeCondition extends Condition {
|
||||
public void onActionClick(int index) {
|
||||
if (index == 0) {
|
||||
if (mUserHandle != null) {
|
||||
mUm.trySetQuietModeDisabled(mUserHandle.getIdentifier(), null);
|
||||
mUm.trySetQuietModeEnabled(false, mUserHandle);
|
||||
}
|
||||
setActive(false);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user