Pārlūkot izejas kodu

no default for share type avatar generation

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 gadi atpakaļ
vecāks
revīzija
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;
         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) {
     public static void createAvatar(ShareType type, ImageView avatar, Context context) {
         switch (type) {
         switch (type) {
             case GROUP:
             case GROUP: