Closed donething closed 6 years ago
Yeah, these are the remnants of the old code that are no longer being used.
The condition if ((!getSysPackages) && (p.versionName == null))
is never met (getSysPackages is always true).
Apparently this code is from an answer on Stack Overflow https://stackoverflow.com/a/8052835/1120225 and there are also alternatives how to get system apps.
Thanks for pointing that out.
Thank you, get it.
By "(p.versionName == null)" to determine whether this is a system app, it seems invalid.
On my cell phone, for "null" only these three:
Thank you for your attention