Fix stub on API 34

This commit is contained in:
topjohnwu 2024-03-08 15:57:49 -08:00
parent 73c3d741a7
commit d56f4fbc90

View File

@ -116,7 +116,8 @@ public class DynLoad {
// noinspection InlinedApi // noinspection InlinedApi
int flags = PackageManager.GET_ACTIVITIES | PackageManager.GET_SERVICES int flags = PackageManager.GET_ACTIVITIES | PackageManager.GET_SERVICES
| PackageManager.GET_PROVIDERS | PackageManager.GET_RECEIVERS | PackageManager.GET_PROVIDERS | PackageManager.GET_RECEIVERS
| PackageManager.MATCH_DIRECT_BOOT_AWARE | PackageManager.MATCH_DIRECT_BOOT_UNAWARE; | PackageManager.MATCH_DIRECT_BOOT_AWARE | PackageManager.MATCH_DISABLED_COMPONENTS
| PackageManager.MATCH_DIRECT_BOOT_UNAWARE;
var pm = context.getPackageManager(); var pm = context.getPackageManager();
final PackageInfo info; final PackageInfo info;