Loading media/java/android/media/MediaRouter.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -629,7 +629,7 @@ public class MediaRouter { * Set an icon that will be used to represent this route. * Set an icon that will be used to represent this route. * The system may use this icon in picker UIs or similar. * The system may use this icon in picker UIs or similar. * * * @param icon Resource ID of an icon drawable to use to represent this route * @param resId Resource ID of an icon drawable to use to represent this route */ */ public void setIconResource(int resId) { public void setIconResource(int resId) { setIconDrawable(sStatic.mResources.getDrawable(resId)); setIconDrawable(sStatic.mResources.getDrawable(resId)); Loading Loading @@ -756,7 +756,7 @@ public class MediaRouter { * Set an icon that will be used to represent this group. * Set an icon that will be used to represent this group. * The system may use this icon in picker UIs or similar. * The system may use this icon in picker UIs or similar. * * * @param icon Resource ID of an icon drawable to use to represent this group * @param resId Resource ID of an icon drawable to use to represent this group */ */ public void setIconResource(int resId) { public void setIconResource(int resId) { setIconDrawable(sStatic.mResources.getDrawable(resId)); setIconDrawable(sStatic.mResources.getDrawable(resId)); Loading Loading
media/java/android/media/MediaRouter.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -629,7 +629,7 @@ public class MediaRouter { * Set an icon that will be used to represent this route. * Set an icon that will be used to represent this route. * The system may use this icon in picker UIs or similar. * The system may use this icon in picker UIs or similar. * * * @param icon Resource ID of an icon drawable to use to represent this route * @param resId Resource ID of an icon drawable to use to represent this route */ */ public void setIconResource(int resId) { public void setIconResource(int resId) { setIconDrawable(sStatic.mResources.getDrawable(resId)); setIconDrawable(sStatic.mResources.getDrawable(resId)); Loading Loading @@ -756,7 +756,7 @@ public class MediaRouter { * Set an icon that will be used to represent this group. * Set an icon that will be used to represent this group. * The system may use this icon in picker UIs or similar. * The system may use this icon in picker UIs or similar. * * * @param icon Resource ID of an icon drawable to use to represent this group * @param resId Resource ID of an icon drawable to use to represent this group */ */ public void setIconResource(int resId) { public void setIconResource(int resId) { setIconDrawable(sStatic.mResources.getDrawable(resId)); setIconDrawable(sStatic.mResources.getDrawable(resId)); Loading