Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ void stopListening() {
* <p>Always calls {@code result#success}.
*/
@Override
@SuppressWarnings("unchecked")
public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) {
try {
String action = convertAction((String) call.argument("action"));
Expand Down Expand Up @@ -155,6 +156,7 @@ private static String convertAction(String action) {
}
}

@SuppressWarnings("unchecked")
private static Bundle convertArguments(Map<String, ?> arguments) {
Bundle bundle = new Bundle();
if (arguments == null) {
Expand Down Expand Up @@ -193,6 +195,7 @@ private static Bundle convertArguments(Map<String, ?> arguments) {
return bundle;
}

@SuppressWarnings("unchecked")
private static Bundle convertArrayArguments(Map<String, ?> arrayArguments) {
Bundle bundle = new Bundle();
if (arrayArguments == null) {
Expand Down
Loading