|
@@ -506,9 +506,9 @@ class VPNConnectionsUtil: VpnStatus.StateListener {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// val widgetIntent = Intent(context, SimpleAppWidget::class.java)
|
|
|
-// widgetIntent.action = SimpleAppWidget.ACTION_STOP_SERVICE
|
|
|
-// context.sendBroadcast(widgetIntent)
|
|
|
+ val widgetIntent = Intent(context, SimpleAppWidget::class.java)
|
|
|
+ widgetIntent.action = SimpleAppWidget.ACTION_STOP_SERVICE
|
|
|
+ context.sendBroadcast(widgetIntent)
|
|
|
|
|
|
} catch (e: Exception) {
|
|
|
e.printStackTrace()
|