Closed ubipo closed 3 years ago
Thanks for the thorough review!
I went over all the suggestions and implemented the instrumentation tests. As with the module itself I did need to make some changes to the deeper logic.
I got 19 out of 60 failures but these all seem to be some functional problem (WifiManager.setWifiApEnabled not found, something with the display staying on when the test tried to turn it off etc.). The tests I implemented for GrantPhoneRemotely do all pass.
This adds a module for remote authentication, as described in #7.
I also upgraded the Maven version and targeted Java version because Android studio asked for it. Hope that doesn't break anything ;)
Since the
ModuleUserData
for the new authentication module does not need a granted phones list I moved that functionality to a new class,PhoneAllowlistModuleUserData
. So all modules usePhoneAllowlistModuleUserData
, except for the authentication module, which usesModuleUserData
.The parameter description for the authentication module got a little hectic, so I enabled HTML for that textview and updated the parameter descriptions for the other modules.
I'm probably missing some stuff but overall I tried to keep the changes small.