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

Commit 8c0ff13f authored by Simon Schoar's avatar Simon Schoar
Browse files

Logical error. If multiple receivers are dead, only the first one will be added.

parent 734bc9ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -836,8 +836,8 @@ public class LocationManagerService extends ILocationManager.Stub
                        } catch (PendingIntent.CanceledException e) {
                        } catch (PendingIntent.CanceledException e) {
                            if (deadReceivers == null) {
                            if (deadReceivers == null) {
                                deadReceivers = new ArrayList<Receiver>();
                                deadReceivers = new ArrayList<Receiver>();
                                deadReceivers.add(receiver);
                            }
                            }
                            deadReceivers.add(receiver);
                        }
                        }
                    }
                    }
                } catch (RemoteException e) {
                } catch (RemoteException e) {