2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 06:05:12 +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; int drawableId;
switch (deviceType) { switch (deviceType) {
case Phone: drawableId = R.drawable.ic_device_phone; case Phone: drawableId = R.drawable.ic_device_phone; break;
case Tablet: drawableId = R.drawable.ic_device_tablet; case Tablet: drawableId = R.drawable.ic_device_tablet; break;
default: drawableId = R.drawable.ic_device_laptop; default: drawableId = R.drawable.ic_device_laptop;
} }
return ContextCompat.getDrawable(context, drawableId); return ContextCompat.getDrawable(context, drawableId);