modified installation msg
This commit is contained in:
parent
e46372a775
commit
4d5a67053a
@ -179,7 +179,9 @@
|
||||
|
||||
<string name="install_dialog_top">Install external plugin?</string>
|
||||
<string name="install_dialog_msg">
|
||||
IITCm was requested to install the following plugin:\n\n%1$s\n\nDo you want to proceed?
|
||||
<![CDATA[IITCm was requested to install the following javascript file:<br><br>%1$s<br><br>
|
||||
<b>Be careful:</b> Javascript from external sources may contain harmful code (spyware etc.)!<br><br>
|
||||
Are you sure you want to proceed?]]>
|
||||
</string>
|
||||
|
||||
</resources>
|
||||
|
@ -11,6 +11,7 @@ import android.content.res.AssetManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Environment;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.text.Html;
|
||||
import android.util.Base64;
|
||||
import android.util.Base64OutputStream;
|
||||
import android.webkit.WebResourceResponse;
|
||||
@ -256,7 +257,7 @@ public class IITC_FileManager {
|
||||
String text = mActivity.getString(R.string.install_dialog_msg);
|
||||
text = String.format(text, uri);
|
||||
alertDialogBuilder
|
||||
.setMessage(text)
|
||||
.setMessage(Html.fromHtml(text))
|
||||
.setCancelable(true)
|
||||
.setPositiveButton("Yes", new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user