make sure transproxy is renabled when network returns
This commit is contained in:
parent
2eb79a5185
commit
298a01e519
|
@ -240,8 +240,7 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mNotifyBuilder.setTicker("");
|
mNotifyBuilder.setTicker(null); //make sure to clear ticker
|
||||||
//mNotifyBuilder.setLights(Color.GREEN, 5000, 5000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isOngoing)
|
if (isOngoing)
|
||||||
|
@ -1809,8 +1808,8 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
logNotice(context.getString(R.string.network_connectivity_is_good_waking_tor_up_));
|
logNotice(context.getString(R.string.network_connectivity_is_good_waking_tor_up_));
|
||||||
showToolbarNotification(getString(R.string.status_activated),NOTIFY_ID,R.drawable.ic_stat_tor,prefPersistNotifications);
|
showToolbarNotification(getString(R.string.status_activated),NOTIFY_ID,R.drawable.ic_stat_tor,prefPersistNotifications);
|
||||||
|
|
||||||
//if (mHasRoot && mEnableTransparentProxy)
|
if (mHasRoot && mEnableTransparentProxy)
|
||||||
//enableTransparentProxy(mTransProxyAll, mTransProxyTethering);
|
enableTransparentProxy(mTransProxyAll, mTransProxyTethering);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue