Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7dfbb73f authored by David Duarte's avatar David Duarte Committed by Gerrit Code Review
Browse files

Merge "BrowsablePlayerConnector: Do not use mHandler from within the Handler" into main

parents bc697882 e0b0083f
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -157,12 +157,11 @@ public class BrowsablePlayerConnector {
                                (int status, String mediaId, List<ListItem> results) -> {
                                    // Send the response as a message so that it is properly
                                    // synchronized
                                    Message cb =
                                            mHandler.obtainMessage(MSG_GET_FOLDER_ITEMS_CB);
                                    Message cb = obtainMessage(MSG_GET_FOLDER_ITEMS_CB);
                                    cb.arg1 = status;
                                    cb.arg2 = results.size();
                                    cb.obj = wrapper;
                                    mHandler.sendMessage(cb);
                                    sendMessage(cb);
                                });
                    } break;