1b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette/* 2b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * Copyright (C) 2014 The Android Open Source Project 3b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * 4b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * Licensed under the Apache License, Version 2.0 (the "License"); 5b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * you may not use this file except in compliance with the License. 6b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * You may obtain a copy of the License at 7b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * 8b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * http://www.apache.org/licenses/LICENSE-2.0 9b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * 10b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * Unless required by applicable law or agreed to in writing, software 11b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * distributed under the License is distributed on an "AS IS" BASIS, 12b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * See the License for the specific language governing permissions and 14b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette * limitations under the License. 15b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette */ 16b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette 17b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverettepackage android.support.v4.content.res; 18b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette 19b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viveretteimport android.content.res.Resources; 20b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viveretteimport android.content.res.Resources.NotFoundException; 21b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viveretteimport android.content.res.Resources.Theme; 22b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viveretteimport android.graphics.drawable.Drawable; 23b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette 24b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viveretteclass ResourcesCompatIcsMr1 { 25b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette public static Drawable getDrawableForDensity(Resources res, int id, int density) 26b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette throws NotFoundException { 27b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette return res.getDrawableForDensity(id, density); 28b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette } 29b5538e1e9fdc71d53e353ef42d4a76ddf813c318Alan Viverette} 30