Skip to content

Commit

Permalink
Merge pull request #4 from SecUpwN/development
Browse files Browse the repository at this point in the history
 Syncing my own fork
  • Loading branch information
DimaKoz committed Apr 24, 2015
2 parents 6304c06 + 8f263b9 commit 9b7a08b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ public void checkForNeighbourCount(CellLocation location){
*/
//TinyDB tinydb = new TinyDB(context);
Integer ncls = 0;
if(tm != null) //https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/issues/383
if(tm != null && tm.getNeighboringCellInfo() != null) //https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/issues/383
ncls = tm.getNeighboringCellInfo().size(); // NC list size
Boolean nclp = tinydb.getBoolean("nc_list_present"); // NC list present? (default is false)

Expand Down

0 comments on commit 9b7a08b

Please sign in to comment.