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

Commit dcc5a963 authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi
Browse files

[res] Make ApkAssets.toString() callable after close()

It is called from the finalizer after finishing the close() call

Fixes: 373005262
Flag: EXEMPT bugfix
Test: build + boot
Change-Id: Ieca62c8d3bdf4cc8d4f9a0d10c43eba570002e50
parent 556a10be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -353,7 +353,7 @@ public final class ApkAssets {
    /** @hide */
    public @NonNull String getDebugName() {
        synchronized (this) {
            return nativeGetDebugName(mNativePtr);
            return mNativePtr == 0 ? "<destroyed>" : nativeGetDebugName(mNativePtr);
        }
    }