Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51bdb366 authored by Ryan Mitchell's avatar Ryan Mitchell
Browse files

Revert "Cast ApkAssets to uintptr_t before jlong"

This reverts commit 1d46f4f2.

Reason for revert: Did not fix b/159041693

Change-Id: Ie06232a06027a29ccd2e71ae866200f2e9216cbe
parent 1d46f4f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -354,7 +354,7 @@ static void NativeDestroy(void* ptr) {
}

static jlong NativeGetFinalizer(JNIEnv* /*env*/, jclass /*clazz*/) {
  return static_cast<jlong>(reinterpret_cast<uintptr_t>(&NativeDestroy));
  return reinterpret_cast<jlong>(&NativeDestroy);
}

static jstring NativeGetAssetPath(JNIEnv* env, jclass /*clazz*/, jlong ptr) {