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

Commit 61b91536 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add data fail cause for empty TD list" into tm-dev am: fb343601

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17146804

Change-Id: Ia9bc5afd42ba2f33f4e48b8c31f51f10fb5f8c1e
parents 0accf31c fb343601
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1090,6 +1090,13 @@ public final class DataFailCause {
     */
    public static final int NO_RETRY_FAILURE = 0x1000B;

    /**
     * Traffic descriptors in DataCallResponse is empty.
     *
     * @hide
     */
    public static final int NO_TRAFFIC_DESCRIPTORS = 0x1000C;

    private static final Map<Integer, String> sFailCauseMap;
    static {
        sFailCauseMap = new HashMap<>();
@@ -1524,6 +1531,7 @@ public final class DataFailCause {
        sFailCauseMap.put(SERVICE_TEMPORARILY_UNAVAILABLE, "SERVICE_TEMPORARILY_UNAVAILABLE");
        sFailCauseMap.put(REQUEST_NOT_SUPPORTED, "REQUEST_NOT_SUPPORTED");
        sFailCauseMap.put(NO_RETRY_FAILURE, "NO_RETRY_FAILURE");
        sFailCauseMap.put(NO_TRAFFIC_DESCRIPTORS, "NO_TRAFFIC_DESCRIPTORS");
    }

    private DataFailCause() {