Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

系统应用判断条件增加FLAG_UPDATED_SYSTEM_APP,并统一使用PackageUtils进行判断 #645

Open
charles-chai opened this issue Jan 4, 2024 · 1 comment · May be fixed by #646

Comments

@charles-chai
Copy link
Contributor

框架有多处判断是否为系统应用的判断,代码冗余且判断条件不一致,现统一使用PackageUtils.isSystemPackage进行判断

@charles-chai
Copy link
Contributor Author

Apps in system partition (/system)

These apps will get the flag ApplicationInfo.FLAG_SYSTEM

If an updated version is installed (probably not under /system), it will get ApplicationInfo.FLAG_UPDATED_SYSTEM_APP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant