Automate setting MobiControl UsageTracking Setting in Android Settings?
Also, I tried to monitor the changes as I did it manually by running the watchsettings on script on a device but I don't believe I got relevant data from the logging. It appears to have logged that multi-window is being enabled/disabled, but then I can see in the last entry that the usage permission setting was granted.
2018-03-08 10:50:55 AM Send action request (Send Script [ watchsettings on ])
2018-03-08 10:51:09 AM Custom log (URI:content://settings/ SETTING:multi_window_enabled VALUE:0)
2018-03-08 10:51:10 AM Custom log (URI:content://settings/ SETTING:multi_window_enabled VALUE:1)
2018-03-08 10:51:11 AM Custom log (URI:content://settings/system SETTING:multi_window_enabled VALUE:0)
2018-03-08 10:51:11 AM Custom log (Usage Permission was granted)
Unfortunately, this may be by design so that the user has to provide permission to allow usage data tracking by "agreeing" to allow the application to access this data manually.
We use the watchsettings on script as well but my testing has has brought about similar results.
Technical Support | SOTI Inc. |1.905.624.9828 | firstname.lastname@example.org | www.soti.net |