Эх сурвалжийг харах

no default for share type avatar generation

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 жил өмнө
parent
commit
840d7e5f83

+ 3 - 0
src/main/java/com/owncloud/android/utils/ThemeUtils.java

@@ -874,6 +874,9 @@ public final class ThemeUtils {
         return Configuration.UI_MODE_NIGHT_YES == nightModeFlag;
     }
 
+    @SuppressFBWarnings(
+        value = "SF_SWITCH_NO_DEFAULT",
+        justification = "We only create avatars for a subset of share types")
     public static void createAvatar(ShareType type, ImageView avatar, Context context) {
         switch (type) {
             case GROUP: