vendor_fp_prop is declared as a vendor_internal_prop on surya,
which violates Treble sepolicy neverallow rules when accessed
by coredomain/platform_app:
neverallow { coredomain -init -dumpstate } {
vendor_property_type
vendor_internal_property_type
-vendor_restricted_property_type
-vendor_public_property_type
}:file no_rw_file_perms;
MiuiCamera does not require fingerprint property access.
Change-Id: Ia900a8e74dac400656dd79659a0c265bc3134e1b
By patching MiuiCamera's Device.isGlobal() and Build.IS_INTERNATIONAL_BUILD
to unconditionally return true, the app always assumes it is running on a
global device. This prevents attempts to launch the custom permission
dialog from HyperOS Security Center, allowing the app to run seamlessly
on AOSP ROMs without requiring ro.product.mod_device=surya_global or CTA
spoofing properties.
Reference: https://github.com/kardebayan/Leica_Universal_5.0_Beta_8.3/commit/a36c2a77fb6753a119d77be0aee186031318556c
Change-Id: I3ffce0136d6777dc72c4ea01bb5b7c41d89af73f