Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
trife committed Sep 7, 2022
1 parent 1d9ebb3 commit 649df6a
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 649df6a

Please sign in to comment.