OSDN Git Service

Specify more information in DhcpClient PendingIntents.
authorLorenzo Colitti <lorenzo@google.com>
Tue, 26 May 2015 08:31:47 +0000 (17:31 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Tue, 26 May 2015 12:40:12 +0000 (12:40 +0000)
commit82babcd83a568f9e938bf8b6b3b86b65e8b30e1f
tree04f83b915b6b1a05940820613cfd57627aa936fd
parent99fbb56a0ab81ead404480f0c2df529332a93a32
Specify more information in DhcpClient PendingIntents.

- Specify the package name. This provides a bit of security, but
  not much since the package is "android".
- Specify the interface name so we can run more than one client
  at a time.

Bug: 21395858
Bug: 19704592
Change-Id: I91c9ea15285b36628b6aef0b975c16a0b08d061e
services/net/java/android/net/dhcp/DhcpClient.java