ActiveModeWarden: Handle recovery trigger when wifi is disabled

The message handling expects a null in msg.obj when the message is
received in disabled state. This is no longer true since the API now
accepts a reason string as a part of the new API addition.
Fixed the message handling and removed the intentional fallthrough
which was confusing.

We had a unit test for this scenario, but it missed moving the time
forward to simulate the recovery handling. Fixing the test reproduces
the mentioned issue and verified that this fix resolves it.

Bug: 178509918
Test: atest com.android.server.wifi
Change-Id: I08535923018a5a1352f8e887f2c3d9c2b206c84b
Merged-In: I08535923018a5a1352f8e887f2c3d9c2b206c84b
2 files changed