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

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

Merge "hide Condition.sourceToString" into main

parents da689d5a fc20b237
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -40630,7 +40630,6 @@ package android.service.notification {
    method public static boolean isValidId(android.net.Uri, String);
    method public static android.net.Uri.Builder newId(android.content.Context);
    method public static String relevanceToString(int);
    method @FlaggedApi("android.app.modes_api") @NonNull public static String sourceToString(int);
    method public static String stateToString(int);
    method public void writeToParcel(android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.service.notification.Condition> CREATOR;
+4 −1
Original line number Diff line number Diff line
@@ -257,7 +257,10 @@ public final class Condition implements Parcelable {
        throw new IllegalArgumentException("state is invalid: " + state);
    }

    /** Provides a human-readable string version of the Source enum. */
    /**
     * Provides a human-readable string version of the Source enum.
     * @hide
     */
    @FlaggedApi(Flags.FLAG_MODES_API)
    public static @NonNull String sourceToString(@Source int source) {
        if (source == SOURCE_UNKNOWN) return "SOURCE_UNKNOWN";