Temporarily disable network: also check last user selection timestamp

Currently, we don't temporarily disable networks
upon internet validation failure if it's the last
user selected network, regardless of when that user
selection occurred. This could cause a network
to be retried over and over forever without getting
disabled.

Thus, fixed to not disable user selected networks
only when they were selected within the last 30
seconds.

Bug: 180051267
Test: Verify the last user selected network is not
      retried forever upon internet validation
      failure
Test: atest FrameworksWifiTests
Change-Id: I5798604fd03871ead50b6a99b0c2217e18eb1242
2 files changed