Loading core/api/test-current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -2957,10 +2957,6 @@ package android.service.notification { method @Deprecated public boolean isBound(); } public class NotificationRankingUpdate implements android.os.Parcelable { method public final boolean isFdNotNullAndClosed(); } } package android.service.quickaccesswallet { Loading core/java/android/service/notification/NotificationRankingUpdate.java +1 −4 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ package android.service.notification; import android.annotation.Nullable; import android.annotation.SuppressLint; import android.annotation.TestApi; import android.app.Notification; import android.os.Bundle; import android.os.Parcel; Loading @@ -40,7 +39,6 @@ import java.util.List; * @hide */ @SuppressLint({"ParcelNotFinal", "ParcelCreator"}) @TestApi public class NotificationRankingUpdate implements Parcelable { private final NotificationListenerService.RankingMap mRankingMap; Loading Loading @@ -101,7 +99,7 @@ public class NotificationRankingUpdate implements Parcelable { throw new RuntimeException(e); } finally { mapParcel.recycle(); if (buffer != null) { if (buffer != null && mRankingMapFd != null) { mRankingMapFd.unmap(buffer); mRankingMapFd.close(); } Loading Loading @@ -140,7 +138,6 @@ public class NotificationRankingUpdate implements Parcelable { * * @hide */ @TestApi public final boolean isFdNotNullAndClosed() { return mRankingMapFd != null && mRankingMapFd.getFd() == -1; } Loading Loading
core/api/test-current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -2957,10 +2957,6 @@ package android.service.notification { method @Deprecated public boolean isBound(); } public class NotificationRankingUpdate implements android.os.Parcelable { method public final boolean isFdNotNullAndClosed(); } } package android.service.quickaccesswallet { Loading
core/java/android/service/notification/NotificationRankingUpdate.java +1 −4 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ package android.service.notification; import android.annotation.Nullable; import android.annotation.SuppressLint; import android.annotation.TestApi; import android.app.Notification; import android.os.Bundle; import android.os.Parcel; Loading @@ -40,7 +39,6 @@ import java.util.List; * @hide */ @SuppressLint({"ParcelNotFinal", "ParcelCreator"}) @TestApi public class NotificationRankingUpdate implements Parcelable { private final NotificationListenerService.RankingMap mRankingMap; Loading Loading @@ -101,7 +99,7 @@ public class NotificationRankingUpdate implements Parcelable { throw new RuntimeException(e); } finally { mapParcel.recycle(); if (buffer != null) { if (buffer != null && mRankingMapFd != null) { mRankingMapFd.unmap(buffer); mRankingMapFd.close(); } Loading Loading @@ -140,7 +138,6 @@ public class NotificationRankingUpdate implements Parcelable { * * @hide */ @TestApi public final boolean isFdNotNullAndClosed() { return mRankingMapFd != null && mRankingMapFd.getFd() == -1; } Loading