Check preload dex (#1834)
This commit is contained in:
parent
9a022f4c17
commit
4fcf2308df
|
|
@ -83,6 +83,7 @@ public class LSPApplicationService extends ILSPApplicationService.Stub {
|
||||||
Log.d(TAG, "LSPApplicationService.onTransact: code=" + code);
|
Log.d(TAG, "LSPApplicationService.onTransact: code=" + code);
|
||||||
if (code == DEX_TRANSACTION_CODE) {
|
if (code == DEX_TRANSACTION_CODE) {
|
||||||
var shm = ConfigManager.getInstance().getPreloadDex();
|
var shm = ConfigManager.getInstance().getPreloadDex();
|
||||||
|
if (shm == null) return false;
|
||||||
// assume that write only a fd
|
// assume that write only a fd
|
||||||
shm.writeToParcel(reply, 0);
|
shm.writeToParcel(reply, 0);
|
||||||
reply.writeLong(shm.getSize());
|
reply.writeLong(shm.getSize());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue