Remove @removed trySetQuietModeEnabled
Context: Updated the API according to API council feedback. Marked it as @Removed and keep it for a while for Launcher. But now Launcher prebuilt is updated, we are safe to remove it. Test: Build BUG: 71818127 Change-Id: I33fec12addf7031bfbcd86bce9e636c31d0ea4d3
This commit is contained in:
@@ -265,7 +265,6 @@ package android.os {
|
||||
method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
|
||||
method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
|
||||
method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle);
|
||||
method public deprecated boolean trySetQuietModeEnabled(boolean, android.os.UserHandle);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -2259,12 +2259,6 @@ public class UserManager {
|
||||
}
|
||||
}
|
||||
|
||||
/** @removed */
|
||||
@Deprecated
|
||||
public boolean trySetQuietModeEnabled(boolean enableQuietMode, @NonNull UserHandle userHandle) {
|
||||
return requestQuietModeEnabled(enableQuietMode, userHandle);
|
||||
}
|
||||
|
||||
/**
|
||||
* Enables or disables quiet mode for a managed profile. If quiet mode is enabled, apps in a
|
||||
* managed profile don't run, generate notifications, or consume data or battery.
|
||||
|
||||
Reference in New Issue
Block a user