minor fixes

bug/bundler_fix
Jack64 2015-07-20 01:20:36 +01:00
parent ad86a72918
commit 97f4ec72f9
2 changed files with 2 additions and 20 deletions

View File

@ -144,14 +144,6 @@ class Android < Extension
}
return networks
# response.get_tlv(TLV_TYPE_WLAN_STRING).value
# response.each( TLV_TYPE_CONTACT_GROUP ) { |p|
# wifi << {
# 'string' => p.get_tlv(TLV_TYPE_WLAN_STRING).value
# }
# }
# return wifi
# response.get_tlv(TLV_TYPE_CHECK_ROOT_BOOL).value
end
end

View File

@ -422,8 +422,8 @@ class Console::CommandDispatcher::Android
print_line(wlan_geolocate_opts.usage)
return
end
}
print_status('Waiting for WiFi scan results...')
log = client.android.wlan_geolocate
wlan_list=''
log.each{|x|
@ -432,7 +432,6 @@ class Console::CommandDispatcher::Android
ss=x['level']
network_data = "&wifi=mac:#{mac}|ssid:#{ssid}|ss=#{ss}"
wlan_list << network_data
# print_status(x['ssid']+" ("+x['bssid']+") pwr: "+x['level'].to_s())
}
if wlan_list.blank?
@ -460,15 +459,6 @@ class Console::CommandDispatcher::Android
print_error("Failure connecting to Google for location lookup.")
end
# print_status(log)
# log.each{|x|
# print_line(x)
# }
#if is_rooted
# print_good('Device is rooted')
#elsif
# print_status('Device is not rooted')
#end
end