OSDN Git Service

Display "MAC address is randomized" in Wifi Preference Page
authorJong Wook Kim <jongwook@google.com>
Wed, 14 Mar 2018 07:56:20 +0000 (00:56 -0700)
committerJong Wook Kim <jongwook@google.com>
Sun, 18 Mar 2018 21:55:09 +0000 (21:55 +0000)
commit091894d09d2792ca49730af829055f16cbe7013e
tree4c76a7d822f739f828a65df8cf7ac4da0117d657
parentb0f251597c963b20e595fdf0201c5591230562e9
Display "MAC address is randomized" in Wifi Preference Page

When Connected MAC Randomization is enabled and the device is
disconnected, there isn't a valid MAC address to display since we don't
know what the device's next MAC address is going to be.

Instead of displaying the MAC address used for previous connection, tell
users that "MAC address is randomized."

Bug: 73663275
Test: make -j40 RunSettingsRoboTests
Change-Id: Id5352926f221e3215734d1c198f2072940f82695
src/com/android/settings/wifi/WifiInfoPreferenceController.java
tests/robotests/src/com/android/settings/wifi/WifiInfoPreferenceControllerTest.java