From 0d7887f56dc51ff9f51f3b16e81c156027567952 Mon Sep 17 00:00:00 2001 From: Francesco Andreuzzi <andreuzzi.francesco@gmail.com> Date: Thu, 16 Jun 2016 15:18:24 +0200 Subject: [PATCH] placed a in.in call to activate suggestions --- .../ohi/andre/consolelauncher/LauncherActivity.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/ohi/andre/consolelauncher/LauncherActivity.java b/app/src/main/java/ohi/andre/consolelauncher/LauncherActivity.java index 4b54a44..a2aa5e6 100755 --- a/app/src/main/java/ohi/andre/consolelauncher/LauncherActivity.java +++ b/app/src/main/java/ohi/andre/consolelauncher/LauncherActivity.java @@ -140,7 +140,9 @@ public class LauncherActivity extends Activity implements Reloadable { ViewGroup mainView = (ViewGroup) findViewById(R.id.mainview); main = new MainManager(this, in, out, preferencesManager, policy, component, clearer); - ui = new UIManager(main.getInfo(), this, mainView, ex, policy, component, preferencesManager, getResources()); + ui = new UIManager(main.getInfo(), this, mainView, ex, policy, component, preferencesManager); + + in.in(Tuils.EMPTYSTRING); System.gc(); } @@ -149,14 +151,13 @@ public class LauncherActivity extends Activity implements Reloadable { final File tuiFolder = Tuils.getTuiFolder(); while (true) { - if (tuiFolder.isDirectory() || tuiFolder.mkdir()) + if (tuiFolder.isDirectory() || tuiFolder.mkdir()) { break; + } try { Thread.sleep(FILEUPDATE_DELAY); - } catch (InterruptedException e) { - e.printStackTrace(); - } + } catch (InterruptedException e) {} } return tuiFolder; -- GitLab