Enable Accesibility on Android 11

Z
zsolt
Autonet Import SRL

Hi, 

I had to install a banking app on our T26 Android11 devices. Apon running the app for the first time I get a wizard which I have go through. On a specific step I have to give permissions in the Accesibility settings for the app. We are using Lockdown on all of our devices and because of this Accesibility is almost instantly closed or moved in the backgound. The only way to setup the app is to exit from lockdown. How to give permission to Accessibility?

Many thanks, 

2 years ago
Android
ANSWERS
RS
Rafael Schäfer Platinum Contributor
2 years ago

Goto admin mode, reproduce thiese steps and as soon as you are in the setting to grant these permission (the screen which is closing in the lockdown) send following script to the device:

identify_activity
 
The relevant patch should be shown then (hopefully) in the device logs in the console and can be added as a (hidden) lockdown item in your lockdown profile.
This should avoid the screen to be instantly be moved to the background when it appears.
 
But please check when done:
- Did this change the behavior as expected?
- Did this change grant access to other settings as well which is not wanted?
Z
zsolt
2 years ago

How to add it as (hidden) lockdown item? The command which I received is com.android.settings/.SubSettings

I am using dynamic template, and I can add it by adding Launch://com.android.settings/.SubSettings but this will be visible.

RS
Rafael Schäfer Platinum Contributor
2 years ago

You can it as hidden this way:

1. Add it as the first item in the lockdown profile

2. change the template (or create a new one/clone an existing one) where the first item is removed. For the dynamic template following need to be removed:

"<MCDisp0>",
"<MCLink0>",
"<MCDispImg0>",
"<MCExeicon0>",
 
 
Z
zsolt
2 years ago

If I run the above command as a script (start activity com.android.settings/.SubSettings) then it will open the generic settings menu, not the accessibility. Do you have any idea what the correct command is? I can't figure it out...

RS
Rafael Schäfer Platinum Contributor
2 years ago

Hmm, no sorry i get the same.

Not sure, if it behaves the same when triggered by the app, this has to be tested as long as the settings are not accessible via another way or via going back from the acessibility menu when opened by the app.

And btw. with "start activity com.android.settings/.SubSettings" nothing happens on my device but i even only get com.android.settings/.SubSettings from identify_activity

MD
Matt Dermody Diamond Contributor
2 years ago

Since these are Zebra Android devices you may be able to use MX to silently grant some of the needed run time permissions. The process is a little involved but I use it regularly to silently grant permissions like MANAGE_EXTERNAL_STORAGE.  The permission you need might be included there. 

https://techdocs.zebra.com/mx/accessmgr/#permission-access-permission-name

Note however that since you have value tier TC2 series devices from Zebra, many of the MX settings are not available by default and have to be unlocked through a Mobility DNA Enterprise license. Zebra purposefully feature limits the class of device that you have relative to their enterprise class devices but they allow you to unlock the additional features such as advanced manageability with an added license. 

J
JEMOD@SOTI Bronze Contributor
2 years ago

Hi zsolt,

Thank you for posting on SOTI Pulse! 

Based on the suggestions from Rafael above, I would like to confirm that all the steps were reproduced to identify the activity, as the accessibility menu should be identifed and not the main sub settings that you obtained before. 

Kind regards,
 
Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net lDiscussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter 

EG
Edgar Gomez Platinum Contributor
2 years ago

Hi

This is the (hidden) item you need to add to your lockdown:

com.android.settings/.Settings$AccessibilitySettingsActivity

J
JEMOD@SOTI Bronze Contributor
2 years ago

Hi Zsolt,

Please have a look at Edgar's post above and let us know if this suggestion can assist with your issue! 

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net lDiscussion Forum | Log a Case Online l LinkedIn