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

Commit c599233e authored by Pengquan Meng's avatar Pengquan Meng Committed by Android (Google) Code Review
Browse files

Merge "Corrects broadcast area for geo-fencing trigger message" into qt-qpr1-dev

parents 079aada1 7be2041d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ public class GsmCellBroadcastHandler extends CellBroadcastHandler {
                broadcastMessage(cbMessages, cbMessageUris);
            } else {
                for (int i = 0; i < cbMessages.size(); i++) {
                    List<Geometry> broadcastArea = commonBroadcastArea.isEmpty()
                    List<Geometry> broadcastArea = !commonBroadcastArea.isEmpty()
                            ? commonBroadcastArea : cbMessages.get(i).getGeometries();
                    if (broadcastArea == null || broadcastArea.isEmpty()) {
                        broadcastMessage(cbMessages.get(i), cbMessageUris.get(i));