- 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
- Inject miui.os.Build, miui.util.FeatureParser, miui.util.ReflectionUtils,
miui.hardware.display.DisplayFeatureManager, and related classes directly
into MiuiCamera.apk to fix ClassNotFoundException on AOSP startup.
- Stub SecurityManager app lock check in GeneralUtils to eliminate
MIUI security service dependency.
- Guard Notification.extraNotification access in GeneralUtils.
Change-Id: I46b2d910ac9fcad3a1a0966fc26f2d217325f6a1