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

Commit 4ef05d50 authored by Ling Ma's avatar Ling Ma
Browse files

Add dataFailCause existence check

Fix: 231530653
Test: manual
Change-Id: I7409e40a7b5c1468112938f663c37508a4f3b1f0
parent a2d26585
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1673,4 +1673,9 @@ public final class DataFailCause {
            return UNKNOWN;
        }
    }

    /** @hide */
    public static boolean isFailCauseExisting(@DataFailureCause int failCause) {
        return sFailCauseMap.containsKey(failCause);
    }
}