Fix NewApi warning

Bug: 329770619
Change-Id: I70268c0f1871e87d431c89ad057712e73051cebe
This commit is contained in:
Jakob Schneider
2024-03-15 11:38:09 +00:00
parent cfc013fd2d
commit 46df9dfec4

View File

@@ -107,6 +107,7 @@ public class PackageManagerHelper {
/**
* Returns whether the target app is archived for a given user
*/
@SuppressWarnings("NewApi")
public boolean isAppArchivedForUser(@NonNull final String packageName,
@NonNull final UserHandle user) {
if (!Utilities.enableSupportForArchiving()) {