Fix review
This commit is contained in:
parent
051d77f80a
commit
928b77d29e
2 changed files with 1 additions and 3 deletions
|
@ -119,7 +119,6 @@ public class FavoriteImageDrawable extends Drawable {
|
|||
@Override
|
||||
protected void onBoundsChange(Rect bounds) {
|
||||
super.onBoundsChange(bounds);
|
||||
Rect bs = new Rect(bounds);
|
||||
if (!withShadow && !synced) {
|
||||
uiBackgroundIcon.setBounds(0, 0,
|
||||
uiBackgroundIcon.getIntrinsicWidth(), uiBackgroundIcon.getIntrinsicHeight());
|
||||
|
|
|
@ -110,8 +110,7 @@ public class ParkingPositionMenuController extends MenuController {
|
|||
return FavoriteImageDrawable.getOrCreate(mapActivity.getMyApplication(),
|
||||
ContextCompat.getColor(mapActivity, R.color.parking_icon_background), false, fav);
|
||||
} else {
|
||||
return getIcon(plugin == null || plugin.getParkingTime() <= 0 ?
|
||||
R.drawable.mx_parking : R.drawable.mx_special_parking_time_limited, R.color.map_widget_blue);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue