Merge "VPN: delete the "abort" file before starting VPN daemons." into ics-mr1

This commit is contained in:
Chia-chi Yeh
2011-12-08 17:22:16 -08:00
committed by Android (Google) Code Review

View File

@ -482,6 +482,7 @@ public class Vpn extends INetworkManagementEventObserver.Stub {
if (state.exists()) {
throw new IllegalStateException("Cannot delete the state");
}
new File("/data/misc/vpn/abort").delete();
// Check if we need to restart any of the daemons.
boolean restart = false;