2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

Missing breaks in switch

This commit is contained in:
Albert Vaca 2015-08-20 00:17:01 -07:00
parent 0868394596
commit b34e7c8a78

View File

@ -158,8 +158,8 @@ public class Device implements BaseLink.PackageReceiver {
{
int drawableId;
switch (deviceType) {
case Phone: drawableId = R.drawable.ic_device_phone;
case Tablet: drawableId = R.drawable.ic_device_tablet;
case Phone: drawableId = R.drawable.ic_device_phone; break;
case Tablet: drawableId = R.drawable.ic_device_tablet; break;
default: drawableId = R.drawable.ic_device_laptop;
}
return ContextCompat.getDrawable(context, drawableId);