/*
 * Copyright (c) 2017 大前良介 (OHMAE Ryosuke)
 *
 * This software is released under the MIT License.
 * http://opensource.org/licenses/MIT
 */

package net.mm2d.android.util;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.support.annotation.DrawableRes;
import android.support.annotation.NonNull;
import android.support.v7.widget.AppCompatDrawableManager;

/**
 * @author <a href="mailto:ryo@mm2d.net">大前良介 (OHMAE Ryosuke)</a>
 */
public class DrawableUtils {
    private DrawableUtils() {
        throw new AssertionError();
    }

    public static Drawable get(
            @NonNull final Context context,
            @DrawableRes final int resId) {
        return AppCompatDrawableManager.get().getDrawable(context, resId);
    }
}

@@ -364,39 +364,38 @@
 .v7.
-widget.AppCompatDrawableManager
+content.res.AppCompatResources
 ;%0A%0A/
@@ -717,29 +717,17 @@
 mpat
-DrawableManager.get()
+Resources
 .get

use AppCompatResources instead of AppCompatDrawableManager