probeDefaultApps
Probes the device's default/role-holder apps and key platform package versions.
Uses RoleManager (Android 10+, role-holder reflection on Android 13+) to read the default browser, launcher, dialer, SMS and assistant packages; resolves the home activity; reads the current WebView provider package (Android 8+); and reports the installed versions of Google Play Services and the Play Store.
Privacy: the set of default apps and their versions is moderately identifying and helps build a fingerprint, but no runtime permission is required to read this metadata.
Return
Map of probe keys to package/version values.
Parameters
context
Context used to access RoleManager and the package manager.