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

Commit 5599a083 authored by Alexander Roederer's avatar Alexander Roederer Committed by Android (Google) Code Review
Browse files

Merge "Add VisibleForTesting annotation to NRU" into main

parents a7288e9e 0e547fec
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import android.system.ErrnoException;
import android.system.OsConstants;

import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;

import com.android.internal.config.sysui.SystemUiSystemPropertiesFlags;

@@ -138,6 +139,7 @@ public class NotificationRankingUpdate implements Parcelable {
     *
     * @hide
     */
    @VisibleForTesting(otherwise = VisibleForTesting.NONE)
    public final boolean isFdNotNullAndClosed() {
        return mRankingMapFd != null && mRankingMapFd.getFd() == -1;
    }