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

Commit cc81dbcf authored by Ling Ma's avatar Ling Ma Committed by Sarah Chin
Browse files

Add dataFailCause existence check

Fix: 231530653
Test: manual
Change-Id: I7409e40a7b5c1468112938f663c37508a4f3b1f0
Merged-In: I7409e40a7b5c1468112938f663c37508a4f3b1f0
parent 217b0fdb
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);
    }
}