OSDN Git Service

{,Base}DhcpStateMachine is no more
authorErik Kline <ek@google.com>
Thu, 18 Feb 2016 04:38:38 +0000 (04:38 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Thu, 18 Feb 2016 04:38:38 +0000 (04:38 +0000)
am: efa4209fe0

* commit 'efa4209fe022d007f48edc3c4feaef00a9865cb5':
  {,Base}DhcpStateMachine is no more

1  2 
services/net/java/android/net/dhcp/DhcpClient.java

@@@ -237,10 -235,10 +236,9 @@@ public class DhcpClient extends StateMa
          // Used to tell the caller when its request (CMD_START_DHCP or CMD_RENEW_DHCP) timed out.
          // TODO: when the legacy DHCP client is gone, make the client fully asynchronous and
          // remove this.
 -        mOneshotTimeoutIntent = createStateMachineCommandIntent("ONESHOT_TIMEOUT",
 -                CMD_ONESHOT_TIMEOUT);
 +        mOneshotTimeoutAlarm = makeWakeupMessage("ONESHOT_TIMEOUT", CMD_ONESHOT_TIMEOUT);
      }
  
-     @Override
      public void registerForPreDhcpNotification() {
          mRegisteredForPreDhcpNotification = true;
      }