Commit 7491407c authored by Duanmu Lingwei's avatar Duanmu Lingwei Committed by Ruchi Kandoi
Browse files

Disable WPS if CHANGE_WIFI_STATE is revoked

If NFC CHANGE_WIFI_STATE permission is revoked:
 - Don't connect WPS tag.
 - Show failed toast message.

Test: Revoke the permission and read Wifi Protected Setup NFC tag
Bug: 79900744
Change-Id: Ia14b007ecea041b9abf9536f1fab17ee69d24202
(cherry picked from commit 007df8464436652d9628f599b11e4d540976483e)
parent 02e86ef0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment