- Replaced native methods in miui.reflect.{Method, Field, Constructor} and
com.miui.internal.os.Native with pure Java reflection implementations.
- Fixes UnsatisfiedLinkError for Native.getMethod / miui.reflect.Method.of()
during Storage.initQuota() and startup reflection on AOSP Android 16.
- Rebuilt MiuiCamera.apk via extract-files.py.
Change-Id: I7e8e0f733e48767e707b22b47c113e65871d17ef
- Bundle com.google.gson, com.google.protobuf, and com.google.zxing classes
directly into MiuiCamera.apk (smali_classes11) to resolve ClassNotFoundException
for Gson in VoiceOnlineRecog and other features on AOSP.
- Rebuilt MiuiCamera.apk via extract-files.py.
Change-Id: I4db9b4fbd1f72b135b045aa86d6daaafcc83a6c6
- Inject android.os.statistics.E2EScenario, E2EScenarioSettings,
E2EScenarioPayload, and E2EScenarioPerfTracer to fix ClassNotFoundException
in ScenarioTrackUtil during Camera.onCreate() startup.
- Rebuilt MiuiCamera.apk via extract-files.py.
Change-Id: I7cab476cee212d58ab024155c7aba251d6166b38
- Completely removed uses-library tags for cloud-common.jar, volley.jar,
and zxing.jar to eliminate all shared library reconciliation failures on AOSP.
Change-Id: I23cfe2286cebcadb89517e29c6c6e0de59f082b9
- Set android:required="false" on cloud-common.jar, volley.jar, and
org.apache.http.legacy to fix INSTALL_FAILED_MISSING_SHARED_LIBRARY
reconciliation error on AOSP.
Change-Id: I7f6e65daa93ac2a184f2eddae614ec0149457928
- Patch miui.external.Application to unconditionally create and attach
CameraApplicationDelegate on AOSP, fixing null sContext and getAndroidContext().
- Add null-check safety to Util.isUserUnlocked().
Change-Id: I5d54aa0ad1e5726b837648518fddd20726efdb1d
- 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