OSDN Git Service

Exclude ephemeral networks from wifi backup
authorChristopher Tate <ctate@google.com>
Thu, 8 Jan 2015 20:50:00 +0000 (12:50 -0800)
committerChristopher Tate <ctate@google.com>
Fri, 9 Jan 2015 03:05:04 +0000 (19:05 -0800)
commitcab915a3278e52b9ba11d47a69bcbbad1d76a263
tree09432cb18fef67e78c774cbb3326b43e290fde85
parent1c6014e77dfad1a7af229d642df7b7300beee721
Exclude ephemeral networks from wifi backup

We compare the set of networks defined in the supplicant with the
set of networks described as "configured" by the Wifi Manager.  The
latter excludes ephemeral networks, so any network definition we
find in the supplicant data that we do not also find in the
configured network set, we ignore for backup purposes.

Bug 18917753

Change-Id: I8e0f258d0cdb72d7bf9482fafe64dc921419fcb2
packages/SettingsProvider/src/com/android/providers/settings/SettingsBackupAgent.java