Fix NPE in ScanActivity for emulator
Version 2.0.0