We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b1091 commit 4fe008cCopy full SHA for 4fe008c
1 file changed
app/src/main/java/org/iilab/pb/alert/PanicAlert.java
@@ -17,6 +17,8 @@
17
import java.util.concurrent.ExecutorService;
18
import java.util.concurrent.Executors;
19
20
+import info.guardianproject.panic.PanicTrigger;
21
+
22
import static android.location.LocationManager.GPS_PROVIDER;
23
import static android.location.LocationManager.NETWORK_PROVIDER;
24
import static org.iilab.pb.common.AppConstants.ONE_MINUTE;
@@ -64,6 +66,8 @@ public void run() {
64
66
65
67
private void activateAlert() {
68
ApplicationSettings.setAlertActive(context, true);
69
+ // send panic triggers to responder apps that support it
70
+ PanicTrigger.sendTrigger(context);
71
sendFirstAlert();
72
registerLocationUpdate();
73
scheduleFutureAlert();
0 commit comments