From 31084a02f350c18e0d06557a118a547985701b15 Mon Sep 17 00:00:00 2001 From: threethan Date: Sat, 29 Jul 2023 06:09:25 -0400 Subject: [PATCH] Fixed a minor regression in telemetry status --- app/src/main/java/com/bos/oculess/MainActivity.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/bos/oculess/MainActivity.kt b/app/src/main/java/com/bos/oculess/MainActivity.kt index da53e97..873888f 100644 --- a/app/src/main/java/com/bos/oculess/MainActivity.kt +++ b/app/src/main/java/com/bos/oculess/MainActivity.kt @@ -257,11 +257,10 @@ class MainActivity : AppCompatActivity() { message.append("") .append(it) .append(" is ") - .append(if (dpm.isApplicationHidden(deviceAdminReceiverComponentName, it)) "disabled\r" else "ENABLED\r") - } + .append(if (dpm.isApplicationHidden(deviceAdminReceiverComponentName, it)) "disabled\r" else "enabled\r") } val builder1: AlertDialog.Builder = AlertDialog.Builder(this) builder1.setTitle(getString(R.string.title1)) - builder1.setMessage(message.toString()) + builder1.setMessage(Html.fromHtml(message.toString(), 0)) builder1.setPositiveButton( getString(R.string.ok) ) { dialog, _ ->