miuicamera-dipper: Fix UnsatisfiedLinkError for libmiuinative
- Implement pure-Java miui.os.SystemProperties delegating directly to android.os.SystemProperties to avoid loading libmiuinative.so. - Wrap System.loadLibrary in com.miui.internal.os.Native.<clinit> in try/catch block to prevent crash if library cannot be loaded. - Include libmiuinative.so in proprietary blobs list. Change-Id: I71e65ab584cb84b36a52afb9eab815cea565292b
This commit is contained in:
6 files changed
+496
-2
No files matched your search
@@ -12,6 +12,7 @@ PRODUCT_PACKAGES += \
|
||||
libdualcameraddm \
|
||||
libjni_dualcamera \
|
||||
libjni_jpegutil_xiaomi \
|
||||
libmiuinative \
|
||||
libmorpho_memory_allocator \
|
||||
libmorpho_panorama_gp3 \
|
||||
libmorpho_sensor_fusion \
|
||||
|
||||
Reference in new issue
Block a user