private static String typeToString(int x) {
        switch (x) {
            case TYPE_BITMAP:
                return "BITMAP";
            case TYPE_ADAPTIVE_BITMAP:
                return "BITMAP_MASKABLE";
            case TYPE_DATA:
                return "DATA";
            case TYPE_RESOURCE:
                return "RESOURCE";
            case TYPE_URI:
                return "URI";
            default:
                return "UNKNOWN";
        }
    }
Adds this Icon to a Bundle that can be read back with the same parameters
to {@link #createFromBundle(Bundle)}.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/compat/IconCompat.java