stub some APIs for Flappy Bird, mostly webview related

This commit is contained in:
Julian Winkler 2023-06-18 11:03:43 +02:00
parent c21d8532bc
commit 0454dcbfd5
16 changed files with 150 additions and 6 deletions

View file

@ -1383,8 +1383,12 @@ public class PackageManager {
* @see #GET_UNINSTALLED_PACKAGES
*/
public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException {
return new PackageInfo();
}
PackageInfo packageInfo = new PackageInfo();
if ((flags & GET_SIGNATURES) == GET_SIGNATURES) {
packageInfo.signatures = new Signature[0];
}
return packageInfo;
}
/**
* Map from the current package names in use on the device to whatever