Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Jul 16, 2024
1 parent 689d8c1 commit 80ac392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/android.js
Original file line number Diff line number Diff line change
Expand Up @@ -1889,8 +1889,8 @@ function ensureArtKnowsHowToHandleReplacementMethods (vm) {
const apiLevel = getAndroidApiLevel();

const mayUseCollector = (apiLevel > 28)
? new NativeFunction(Module.getExportByName('libart.so', '_ZNK3art2gc4Heap15MayUseCollectorENS0_13CollectorTypeE'), 'bool', ['pointer', 'int'])
: () => false;
? new NativeFunction(Module.getExportByName('libart.so', '_ZNK3art2gc4Heap15MayUseCollectorENS0_13CollectorTypeE'), 'bool', ['pointer', 'int'])
: () => false;
const kCollectorTypeCMC = 3;

if (mayUseCollector(getApi().artHeap, kCollectorTypeCMC)) {
Expand Down

0 comments on commit 80ac392

Please sign in to comment.