mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-05-08 11:38:12 +03:00
stub some APIs for Flappy Bird, mostly webview related
This commit is contained in:
parent
c21d8532bc
commit
0454dcbfd5
16 changed files with 150 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue