fixes for NewPipe version 0.28.0

This commit is contained in:
Julian Winkler
2025-08-31 11:10:40 +02:00
committed by Mis012
parent d52985a6df
commit e7318f0757
8 changed files with 30 additions and 12 deletions

View File

@@ -1388,13 +1388,13 @@ public class PackageManager {
public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException {
if (packageName.equals(Context.pkg.packageName)) {
return PackageParser.generatePackageInfo(Context.pkg, new int[0], flags, 0, 0, new HashSet<>(), new PackageUserState());
} else if (packageName.equals("atl")) {
} else if (packageName.equals("atl") || packageName.equals("android")) {
PackageInfo info = new PackageInfo();
info.packageName = packageName;
info.signatures = new Signature[0];
info.signatures = new Signature[] { new Signature(new byte[0]) };
return info;
} else {
throw new NameNotFoundException();
throw new NameNotFoundException(packageName);
}
}