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
9 lines
179 B
Plaintext
9 lines
179 B
Plaintext
# Google Lens
|
|
ro.com.google.lens.oem_camera_package=com.android.camera
|
|
|
|
# Framework allowlists
|
|
persist.vendor.camera.privapp.list=com.android.camera
|
|
|
|
# MiuiCamera
|
|
ro.miui.notch=1
|