Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
matbrik committed Jul 16, 2024
1 parent 37660a8 commit 977ca6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/android.js
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@ function ensureArtKnowsHowToHandleReplacementMethods (vm) {
const api = getApi();
const kCollectorTypeCMC = 3;
const mayUseCollector = new NativeFunction(Module.findExportByName('libart.so', '_ZNK3art2gc4Heap15MayUseCollectorENS0_13CollectorTypeE'), 'int', ['pointer', 'int']);

if (mayUseCollector !== null && mayUseCollector(api.artHeap, kCollectorTypeCMC)) {
exportName = '_ZN3art6Thread15RunFlipFunctionEPS0_b';
Interceptor.attach(Module.getExportByName('libart.so', exportName), artController.hooks.Gc.runFlip);
Expand Down

0 comments on commit 977ca6e

Please sign in to comment.