Skip to content

Commit

Permalink
crash: Crashing on sending Forms through hotspot getodk#323
Browse files Browse the repository at this point in the history
Remove null object being passed to invoke() method
  • Loading branch information
shubhamkumar1739 committed Feb 27, 2020
1 parent 6d03204 commit 3fbaa8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ public boolean isSupported() {
}

public WifiConfiguration getWifiConfig() {
Object obj = null;
Object obj;
try {
obj = getWifiApConfig.invoke(wifiManager, obj);
obj = getWifiApConfig.invoke(wifiManager);
if (obj != null) {
return (WifiConfiguration) obj;
}
Expand Down

0 comments on commit 3fbaa8d

Please sign in to comment.