Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb57a312 authored by Danesh M's avatar Danesh M
Browse files

Show correct pinning message for accessibility

Show correct message for accessibility based on whether
the user currently has navbar turned on or not.

OPO-393

Change-Id: I2f162156ac436cb54027a8250ee3715e6ef6e83b
parent 49ff3c47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ public class LockTaskNotify {
        if (lockTaskModeState == ActivityManager.LOCK_TASK_MODE_LOCKED) {
            textResId = R.string.lock_to_app_toast_locked;
        } else if (lockTaskModeState == ActivityManager.LOCK_TASK_MODE_PINNED &&
                mAccessibilityManager.isEnabled()) {
                mAccessibilityManager.isEnabled() && hasNavigationBar()) {
            textResId = R.string.lock_to_app_toast_accessible;
        } else {
            textResId = hasNavigationBar()