Ensure permanent face is recreated after network connectivity changes
Change-Id: I12efc7e81befa035488a09692aaa6412471d3c17
Refs: #3443
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 9ac597f..cc07744 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -6,6 +6,7 @@
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
@@ -33,6 +34,15 @@
</intent-filter>
</service>
+ <receiver
+ android:name="net.named_data.nfd.utils.ConnectivityChangeReceiver"
+ android:label="ConnectivityChangeReceiver" >
+ <intent-filter>
+ <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
+ <action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
+ </intent-filter>
+ </receiver>
+
</application>
</manifest>