Remove the eula from the strings and placed it instead as a file into the Assets folder.

We found that using the loadUrl WebView's method instead of loadData renders the html page better, for that reason the eula is now saved as a fule in the assets folder and loaded using the WebView's loadUrl method.
This commit is contained in:
Severiano Jaramillo 2019-01-02 14:11:44 -06:00
parent e345a71433
commit 71f2a8b25b
3 changed files with 2 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -22,7 +22,7 @@ class LicenseActivity : AppCompatActivity() {
if (agreedLicenseVersion == Constants.CURRENT_LICENSE_VERSION) {
agree()
} else {
wbLA.loadData(getString(R.string.licence_html), "text/html", "UTF-8")
wbLA.loadUrl("file:///android_asset/eula.html")
btnDisagree.setOnClickListener { finish() }

File diff suppressed because one or more lines are too long