Skip to content

Commit 5e8e41e

Browse files
isheriffAndroid (Google) Code Review
authored andcommitted
Merge "Fix NPE" into jb-mr1-dev
2 parents 88cb79e + 06d371f commit 5e8e41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wifi/java/android/net/wifi/WifiStateMachine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public class WifiStateMachine extends StateMachine {
114114
private final String mPrimaryDeviceType;
115115

116116
/* Scan results handling */
117-
private List<ScanResult> mScanResults;
117+
private List<ScanResult> mScanResults = new ArrayList<ScanResult>();
118118
private static final Pattern scanResultPattern = Pattern.compile("\t+");
119119
private static final int SCAN_RESULT_CACHE_SIZE = 80;
120120
private final LruCache<String, ScanResult> mScanResultCache;

0 commit comments

Comments
 (0)