From b34e7c8a7809614ecedca0f560f8a8c5c6de9e16 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Thu, 20 Aug 2015 00:17:01 -0700 Subject: [PATCH] Missing breaks in switch --- src/org/kde/kdeconnect/Device.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/kde/kdeconnect/Device.java b/src/org/kde/kdeconnect/Device.java index 09c7549f..a0b9392d 100644 --- a/src/org/kde/kdeconnect/Device.java +++ b/src/org/kde/kdeconnect/Device.java @@ -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);