Skip to content

VISOR - v2022_12_29

Pre-release
Pre-release
Compare
Choose a tag to compare
@Edw590 Edw590 released this 29 Dec 17:45
· 210 commits to master since this release

On the outside, not much can be seen changed, but there were many internal improvements.

PS: on th 2nd latest commit I mention INCORRECTLY that "Device Admin is attempted to be forced every time the application or the Main Service start.". Or partially incorrect. It's true that it's attempted, but I've disabled the attempts - on the code, it just calls an empty function, to indicate it's ready (I've tested it, it works), but it's disabled (function empty). All permissions can be forced too, but it's all disabled until I can have VISOR letting the user choose if they want VISOR to keep forcing all permissions or just some or something.

Main changes:

  • Values Storage added to be seen like the Modules Status or the Dev Mode, containing global app-used values (or not, sometimes - phone call and messages numbers are not for anything, yet, for example)
  • If you click on the main app notification, you will be brought to the app
  • If you ask something to VISOR but you don't have sound enabled on the phone, it will bypass that and speak anyway --> but only if you ask something. Example, "what time is it?", and you have the phone on Do Not Disturb because you were sleeping - VISOR will bypass sound restrictions and tell you the time. If you request something, it will just do it without speaking. It will only speak if the only thing it needs to do to follow your order is speak.
  • I've added a bug.... (lol) which I haven't fixed yet. If you request VISOR to record audio, it can only do it if you have sound enabled while requesting (either through text or voice - you just need sound enabled for it to speak. Needs some time before starting to record, and seems the time to say "Starting now, sir." is enough. Will get this fixed some time.)
  • Updated app icons
  • In case VISOR can't speak about some command (Do Not Disturb, Vibration mode, whatever), a notification will appear with what was going to be said.
  • Taking photos is now possible on KitKat and below. Haven't taken care of taking photos on Lollipop and newer (for KitKat and below was easier - I used old code I had for the previous unpublished version of this app, before I reorganized the code from scratch).
  • The background recognizer now uses the HOTWORD audio source, which means it won't prevent other apps from using the microphone anymore. Before this, I remember I couldn't make Whatsapp or Discord calls because the microphone was already in use --> no more. This audio source makes the app separate the microphone from the other apps (phone calls always worked though - those are special).
  • Battery state detection improved.
  • Background recognition files added, high and low quality --> reason for the current 100 MB of the app.
  • Each module is checked for proper support now, including permissions. Previously, if you didn't grant any mandatory permissions for the module to work on a minimal level (supposing the Camera Manager could already record videos, it wouldn't need audio forcibly to work. Just the Camera permission. Audio is secondary), the module would still start, and probably crash the app or something. No more, hopefully.

Full Changelog: v2021_12_29...v2022_12_29
PS: this above is missing one commit. I released a problematic version, so I deleted it, commited the fix, and release it again, and this didn't update the commit list - the one missing is 9ccbbfe.