From a45c3ebb328f61cbfcffcd59d4ef6d75eb12f11f Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Fri, 8 Jan 2016 01:59:09 +0100 Subject: [PATCH] magic info removed --- .../java/net/yolosec/upckeygen/ui/NetworkFragment.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/android/upcKeygen/src/main/java/net/yolosec/upckeygen/ui/NetworkFragment.java b/android/upcKeygen/src/main/java/net/yolosec/upckeygen/ui/NetworkFragment.java index 9972339..31597d4 100644 --- a/android/upcKeygen/src/main/java/net/yolosec/upckeygen/ui/NetworkFragment.java +++ b/android/upcKeygen/src/main/java/net/yolosec/upckeygen/ui/NetworkFragment.java @@ -159,14 +159,7 @@ private void restoreMissingKeygens() { } if (foundMissingKeygen) { //If any is missing, simply replace them all. - ZipInputStream zipInputStream = new ZipInputStream( - getActivity().getResources().openRawResource(R.raw.magic_info)); - wifiNetwork.setKeygens(zipInputStream); - try { - zipInputStream.close(); - } catch (IOException e) { - e.printStackTrace(); - } + wifiNetwork.setKeygens(null); } }