@Override protected void onResume() { super.onResume(); dynamicTheme.onResume(this); dynamicLanguage.onResume(this); initializeSecurity(); initializeScreenshotSecurity(); initializeTitleBar(); initializeEnabledCheck(); initializeMmsEnabledCheck(); initializeIme(); initializeCharactersLeftViewEnabledCheck(); calculateCharactersRemaining(); MessageNotifier.setVisibleThread(threadId); markThreadAsRead(); }
@Override protected void onResume() { super.onResume(); dynamicTheme.onResume(this); dynamicLanguage.onResume(this); // if(clientThread == null) { // clientThread = new Thread(new Runnable() { // public void run() { // Client client = new Client(getFilesDir().getPath()+"/statefile", // "RX4SBLINCG6TUCR7FJYMNNSA33QAPVJAEYA5ROT6QG4IPX7FXE7Q", // "127.0.0.1:9050"); // client.start(); // Client client = Client.getInstance(); Client.getInstance(); // .start(getFilesDir().getPath()+"/statefile", getApplicationContext()); // } // }); // clientThread.start(); // } }