* Before the toast showed in these conditions: open keyboard, open extra keys
* now it shows only when actual size of terminal text size is changed with gestures.
* Remove un-related options from seetings that we wont use ( we use chroot system's su to open shell with proper env exports )
* Some misc change for shortcuts option
* As we can do X-sessions in android userland then it was added by NeoTerm, but we do things under chroot so we cant take advantage with Xorg here.
* Maybe with wayland with node mountpoints but thats for the future ( as i got some sessions with wayland under chroot natively before, it was hacky and pretty broken but it worked ).
* Update easteregg logo
* Add Fira Code font
* Add Kali terminal color scheme
* Include needed images from kali theme repo
* Change default font and color scheme
* In last commit home waws set to / so we need to change the .nhterm location that saves config + theme files to /data/data/com.offsec.nhterm/files/usr/home
* Also add Android SU shell that will be in bash env
* Make sure to delay initialcommand properly so all sessions get it
* Separate asset extraction to function
* Finish off bridge and add needed changes to NeoTermRemoteInterface.kt
* Can take intents without permissions from nhapp ( both apps need to besigned with same key for shareduserid usage )
* Terminal now uses chroot env as default session ( also has system session in menu for system shell usage )
* Disabled setup on start and added static bash + kali script for terminal to use ( uses it to start kali chroot env on start )
* these 2 are extarcted on app start for new users
* And more changes to session environment to make sessions have proper env flags/exports
* possibly more little things that i forgot to mention
* From: https://github.com/NeoTerrm/NeoTerm
* Base commit: 236072395ce056d2d2cccf950d3f243f099a178f
* LICENSE: GPL-3.0
* This will also need changes in nethunter app itself too!
If user is using default system keyboard input method, the committext() is called,
otherwise, the sendKeyEvent() is called instead. So it needs to be handled different way.
Also I still find no other way to send the meta key combination without using KeyEvent(),
and only one meta key is allowed to be combined at a time for now.
Whenever the device is reboot, the app can not receive the broadcast intent sent by sendOrderedBroadcast() immediately,
that broadcast intent is pending way a lot behind other broadcast intent.
The solution can be founded here -> https://stackoverflow.com/questions/44516173/broadcasts-are-delayed
Found out when nethunter app sending activity intent to nhterm, if nhterm is first opened by that intent sent by nethunter,
then all the next activity intent with the same action and category will not be process, as it's a android mechenism.
see https://stackoverflow.com/questions/3781182/activity-not-started-its-current-task-has-been-brought-to-the-front
The way I found to solve this issue is to added 'android:launchMode="singleTask"' to the corresponding activity.