diff --git a/app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java b/app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java index b2efcbefb..345fc27e7 100644 --- a/app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java +++ b/app/src/main/java/com/fieldbook/tracker/activities/CollectActivity.java @@ -245,18 +245,6 @@ public void handleMessage(Message msg) { private SecureBluetoothActivityImpl secureBluetooth; - public static void disableViews(ViewGroup layout) { - layout.setEnabled(false); - for (int i = 0; i < layout.getChildCount(); i++) { - View child = layout.getChildAt(i); - if (child instanceof ViewGroup) { - disableViews((ViewGroup) child); - } else { - child.setEnabled(false); - } - } - } - public void triggerTts(String text) { if (ep.getBoolean(GeneralKeys.TTS_LANGUAGE_ENABLED, false)) { ttsHelper.speak(text);