mirror of
https://github.com/basti564/Oculess.git
synced 2024-11-24 11:12:36 +01:00
Fixed a minor regression in telemetry status
This commit is contained in:
parent
4f930a13fe
commit
31084a02f3
@ -257,11 +257,10 @@ class MainActivity : AppCompatActivity() {
|
|||||||
message.append("<b>")
|
message.append("<b>")
|
||||||
.append(it)
|
.append(it)
|
||||||
.append("</b> is ")
|
.append("</b> is ")
|
||||||
.append(if (dpm.isApplicationHidden(deviceAdminReceiverComponentName, it)) "disabled\r" else "ENABLED\r")
|
.append(if (dpm.isApplicationHidden(deviceAdminReceiverComponentName, it)) "disabled\r" else "<b>enabled</b>\r") }
|
||||||
}
|
|
||||||
val builder1: AlertDialog.Builder = AlertDialog.Builder(this)
|
val builder1: AlertDialog.Builder = AlertDialog.Builder(this)
|
||||||
builder1.setTitle(getString(R.string.title1))
|
builder1.setTitle(getString(R.string.title1))
|
||||||
builder1.setMessage(message.toString())
|
builder1.setMessage(Html.fromHtml(message.toString(), 0))
|
||||||
builder1.setPositiveButton(
|
builder1.setPositiveButton(
|
||||||
getString(R.string.ok)
|
getString(R.string.ok)
|
||||||
) { dialog, _ ->
|
) { dialog, _ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user