commit | 688e61a4c6cc0502b774c571f3f25884f1f65892 | [log] [tgz] |
---|---|---|
author | xuelin <xuelin@xiaomi.corp-partner.google.com> | Thu Dec 08 09:49:35 2022 +0800 |
committer | xuelin <xuelin@xiaomi.corp-partner.google.com> | Thu Dec 08 16:02:31 2022 +0800 |
tree | c4fcd119cf50a384f72eeefed08e6555c6afe9d8 | |
parent | eef6d0cb24731903e3b056708e73477347838f52 [diff] |
fix WifiUtils:isNetworkLockedDown() null pointer issue In the WifiUtils class, the isNetworkLockedDown() method does not determine whether the context is empty, which will cause a null pointer exception. This change adds a condition for judging the input context as empty. Bug:261812909 Test:make RunSettingsRoboTests Change-Id: Ie0f17179c25a7e9d4b2f652a5667eef3cc577c7b Signed-off-by: xuelin <xuelin@xiaomi.corp-partner.google.com>