Add timeout for scan when AP skip the user approval

For the AP didn't get approved, UI has a timeout of scan to allow the
user cancel the request. Same as that, add a scan timeout for AP skip
the user approval to avoid infine scan.

Bug: 334470350
Test: ates com.android.server.wifi

Change-Id: I753f8c58ee953761298fa8bb6acb2b449c52f52e
2 files changed