| 70 | } |
| 71 | |
| 72 | void AndroidConsole::enable(bool enabled) |
| 73 | { |
| 74 | if (gConsole == NULL) return; |
| 75 | |
| 76 | consoleEnabled = enabled; |
| 77 | if(consoleEnabled) |
| 78 | { |
| 79 | printf("Initializing Console...\n"); |
| 80 | new Thread((ThreadRunFunction)AndroidConsoleInputLoopThread,0,true); |
| 81 | printf("Console Initialized.\n"); |
| 82 | |
| 83 | printf("%s", Con::getVariable("Con::Prompt")); |
| 84 | } |
| 85 | else |
| 86 | { |
| 87 | printf("Deactivating Console."); |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | //%PUAP% |
| 92 | void AndroidConsole::enableDebugOutput(bool enabled) |
no test coverage detected