Need to blacklist device settings except bluetooth settign

RJ
Ruwan Jayasanka
South Asian Technologies Pvt Ltd

How can I black list device setting and only enable the Bluetooth settings. I can blacklist device settings and use the setting manager to manage the bluetooth. but when it comes to pairing the pairing code is not getting prompt. I think it is due to device setting is blocked.

then I got following script to enable permition popups for bluetooth. this is working only with one device which have android version 8

manualblacklist add com.android.settings "

  " manualblacklist on "

               

  1. unblock some components that we need to use

                Ex

                "manualblacklist addallowed com.android.settings/.bluetooth.RequestPermissionActivity"

                "manualblacklist addallowed com.android.settings/.bluetooth.BluetoothPairingDialog" 

5 years ago
Android
ANSWERS
RC
Raymond Chan
5 years ago

The script approach has been working for many years, and should work for any Android version.  For Android 9 or later, maybe the activity names get changed  on your device(s),  and you have to tune the parameters accordingly.

RJ
Ruwan Jayasanka
5 years ago

How do I check the activity name change or not. Also there are no customizations has done for these devices, they all reset and enrolled to console as cooperate device.

RC
Raymond Chan
5 years ago

The simplest and free approach is to send MobiControl "identity_activity" script command to a device while the activity of interest is running in the foreground on the device.

RJ
Ruwan Jayasanka
5 years ago

I checked, but don't see any deferent when comparing the script.

  "manualblacklist addallowed com.android.settings/.bluetooth.RequestPermissionActivity"

  "manualblacklist addallowed com.android.settings/.bluetooth.BluetoothPairingDialog" 

Dear all,

We have encountered a problem with a Memor 10 device running on Android 10 in our company. A few months ago, we upgraded all the Memor 10 devices from Android 8.1 to Android 10. These devices are set up with full lockdown mode as a native feature.

However, when a new Bluetooth device is linked to the device, the pop-up message does not appear on the lockdown screen, unlike with Android 8.1. This issue has been causing frustration among our drivers who have to choose a new truck every day.

After conducting thorough research, we have found a solution to this problem. You can use the following legacy command to allow the pop-up message to appear on the screen when linking a new BT device:

Solution:

manualblacklist addallowed com.android.settings/.bluetooth.RequestPermissionActivity
manualblacklist addallowed com.android.settings/.bluetooth.BluetoothPairingDialog
manualblacklist addallowed com.android.settings/.SubSettings
manualblacklist reset

We hope this helps resolve the issue for you.

Best regards, MA