Merge branch 'fix/crash_on_cut' into 'develop'

Fixes IndexOutOfBoundsException when we cut recipients from the composer

See merge request android/mail/proton-mail-android!1190
This commit is contained in:
Zorica Stojchevska 2022-11-05 12:08:41 +00:00
commit c97ee1f645
1 changed files with 9 additions and 0 deletions

View File

@ -386,4 +386,13 @@ public class MessageRecipientView extends TokenCompleteTextView<MessageRecipient
}
}
}
@Override
public void setShadowLayer(float radius, float dx, float dy, int color) {
try {
super.setShadowLayer(radius, dx, dy, color);
} catch (IndexOutOfBoundsException e) {
e.printStackTrace();
}
}
}