summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2019-11-25 12:48:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-11-25 12:48:11 +0000
commit568c32fe887461420b08b8314d519494874015f9 (patch)
tree19102ca8e0d272abca87e3be69acb5a3a41d29f8 /src
parent8f550acdd60e408130e34be9f9757bb4ab1a0350 (diff)
parente419da7deeb985f3306064f0a942eceaa462acf8 (diff)
Merge "Notify IpClient DHCP process success when entering DHCP Bound State."
Diffstat (limited to 'src')
-rw-r--r--src/android/net/dhcp/DhcpClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/net/dhcp/DhcpClient.java b/src/android/net/dhcp/DhcpClient.java
index 889bfce..9e24ca8 100644
--- a/src/android/net/dhcp/DhcpClient.java
+++ b/src/android/net/dhcp/DhcpClient.java
@@ -638,7 +638,6 @@ public class DhcpClient extends StateMachine {
}
mOffer = null;
Log.d(TAG, msg + " lease: " + mDhcpLease);
- notifySuccess();
}
private void clearDhcpState() {
@@ -1150,6 +1149,7 @@ public class DhcpClient extends StateMachine {
transitionTo(mStoppedState);
}
+ notifySuccess();
scheduleLeaseTimers();
logTimeToBoundState();
}