LSPosed/dex2oat
JingMatrix bfa38b0d53 Fix liboat_hook.so inaccessible in some device (#190)
User has reported `dex2oat` failure with SELinux log:

```
W dex2oat64: type=1400 audit(0.0:922): avc: denied { read } for path="/data/adb/modules/zygisk_lsposed/bin/liboat_hook64.so" dev="dm-58" ino=91204 scontext=u:r:dex2oat:s0 tcontext=u:object_r:adb_data_file:s0 tclass=file permissive=0
```

Hence, we now set the SELinux context of `liboat_hook.so` in Dex2OatService.

Moreover, by the pull-request #194, we have to move `putenv` out of the if block by testing.
Indeed, if we call `putenv` inside the if block, then it is no longer valid out of the block.
2025-02-23 09:30:36 +01:00
..
src/main/cpp Fix liboat_hook.so inaccessible in some device (#190) 2025-02-23 09:30:36 +01:00
.gitignore Resolve dex2oat parameters for Android 10+ (#1803) 2022-04-02 13:13:22 +08:00
build.gradle.kts Fix dex2oat build 2023-04-15 17:02:54 +00:00