I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 7a0a5637 authored by str4d's avatar str4d
Browse files

Fixed remote usage of IRouterStatus

parent 37da05ca
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,11 @@ ...@@ -16,7 +16,11 @@
android:icon="@drawable/ic_launcher_itoopie" > android:icon="@drawable/ic_launcher_itoopie" >
<service android:name=".service.RouterService" <service android:name=".service.RouterService"
android:label="@string/app_name" android:label="@string/app_name"
android:icon="@drawable/ic_launcher_itoopie" /> android:icon="@drawable/ic_launcher_itoopie" >
<intent-filter>
<action android:name="net.i2p.android.router.service.IRouterState" />
</intent-filter>
</service>
<provider android:name=".provider.CacheProvider" <provider android:name=".provider.CacheProvider"
android:authorities="net.i2p.android.router" /> android:authorities="net.i2p.android.router" />
<activity android:name=".MainActivity" <activity android:name=".MainActivity"
......
...@@ -166,6 +166,7 @@ public class MainActivity extends I2PActivityBase implements ...@@ -166,6 +166,7 @@ public class MainActivity extends I2PActivityBase implements
// Unbind // Unbind
unbindService(mStateConnection); unbindService(mStateConnection);
mStateService = null; mStateService = null;
mTriedBindState = false;
} }
} catch (RemoteException e) { } catch (RemoteException e) {
// In this case the service has crashed before we could even // In this case the service has crashed before we could even
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment