summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2019-11-25 05:43:53 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-11-25 05:43:53 -0800
commit03cd7f0e0925926bbf9903fe11c88f2f7c6b8aa6 (patch)
tree19102ca8e0d272abca87e3be69acb5a3a41d29f8 /src
parentc66b1944762cc98865e82a12ffe7163a51d0b976 (diff)
parent568c32fe887461420b08b8314d519494874015f9 (diff)
Merge "Notify IpClient DHCP process success when entering DHCP Bound State."
am: 568c32fe88 Change-Id: I6e5940703fc13de600ad40b27617b3f44ec8675e
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();
}