Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10392f6a authored by Michael Wright's avatar Michael Wright Committed by Android (Google) Code Review
Browse files

Merge "Suppress Metalava warnings about API names." into main

parents e4fc8aa7 1fad97b8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -326,6 +326,7 @@ public class CrossProfileApps {
     * @return whether the specified user is a profile.
     */
    @FlaggedApi(FLAG_ALLOW_QUERYING_PROFILE_TYPE)
    @SuppressWarnings("UserHandleName")
    public boolean isProfile(@NonNull UserHandle userHandle) {
        // Note that this is not a security check, but rather a check for correct use.
        // The actual security check is performed by UserManager.
@@ -343,6 +344,7 @@ public class CrossProfileApps {
     * @return whether the specified user is a managed profile.
     */
    @FlaggedApi(FLAG_ALLOW_QUERYING_PROFILE_TYPE)
    @SuppressWarnings("UserHandleName")
    public boolean isManagedProfile(@NonNull UserHandle userHandle) {
        // Note that this is not a security check, but rather a check for correct use.
        // The actual security check is performed by UserManager.