Disable a systeme notification on Android Managed Device

SI

Hi,

My enrolled Android devices got a System notification several times a day which says "Apps can access your location". That's annoying and i can't disabling it cause it's a system one... Do you know a script or something that could remove this notification and only this one ?

Thanks

Managed Work Profile

Version: 15.3.3.1065

Device : Xiaomi Poco F3

OS : Android 11

Edited 4 years ago
Android
ANSWERS
A
ANKMOD@SOTI
4 years ago (edited 4 years ago)

Hello Support

Greetings

Thanks for requesting an answer from Soti !!

 To assist you on this issue,kindly provide some more information as mentioned below.

  • Can you confirm if this issue is happening only with os 11 version ?
  • Have you tested this issue with any other device enrollment type for example android enterprise work manage or android plus (as device you mentioned is work profile type)
  • In last , i also want to know if you can test this issue by removing all configuration from one of your test device to see if this issue is reproducable.
  • Can you also confirm if you are using lockdown configuration  on device (if yes then kindly try to toggle between lockdown type (activity suppression to native one and see if issue is reproducable)

We  will wait for your response.

Regards

R
Rémi
4 years ago

Hello.

We encounter the same thing with us only under Android OS 11.

Work Managed Device and COPE.

Regards.

SI
Support Intradel
4 years ago

Hi,

Thanks for your reply.

I only have Android 11 devices so i can't test another one.

Thanks to your test, i've notice that the notification appear only if "Location Accuracy" is NOT on "Allow User to Configure". So I can't force my devices to be located but now I don't have the notification anymore.

Maybe you'll find something better to do

Regards

RS
Rafael Schäfer
4 years ago (edited 4 years ago)

Hi, 

didn't find someone another/better solution for that? We have the same problem but really want to keep that setting (would be enough to prevent the ringing).

Maybe set it to "allow user to configure" by feature control to prevent the message to appear and set it to high accuracy via script.

Does anyone know if it's possible to set it via script?

same as per feature control

MR
Mark Roughton
4 years ago

With Samsung devices you can use the Knox Service Plugin Notification allowlist policy.

RS
Rafael Schäfer
4 years ago

We mainly have a different manufacturer, so not possible for us but i'll keep that in mind for future :)

D
DRMOD@SOTI
4 years ago

Hi Support Intradel

Thank you for requesting a response from SOTI Support Staff. 

I can see that you already have a workaround. An alternative that I can suggest is using feature control to manage the notifications. You can try to disable “status bar” and “All Keyguard Notifications”.

FEATURE CONTROL

Device functionality

      Features

            Status Bar (disable)

      Security Options

            All Keyguard Notifications (disable)

Please refer to the official documentation.

https://www.soti.net/mc/help/v15.4/en/console/reference/dialogs/profiles/androidplus/profile_featurecontrol_androidplus_manageddevice.html

Thank you and please inform us if that works.

Hope it helps

RS
Rafael Schäfer
4 years ago

I think to disable the status bar isn't an option (for us) but how about keyguard notifications. Which notifications does they contain?

Only some "system notifications" or can it be that they contain app notifications too?

RC
Raymond Chan Diamond Contributor
4 years ago

One possible approach is to build or find some notification manager/filter/statistics app that automatically removes notification(s) of certain predefined pattern(s) or from certain app/software-module.

Z
ZPMOD@SOTI
4 years ago

Hello 

Looking to add to this discussion,

Is the notifications popping up for the Native apps on the device or ones being pushed from MobiCOntrol for the work profile?

Or is the notification specifying the MobiControl agent?

Another option I would want to test in Feature Control > Device Functionality > Allow Location Sharing for work Profile > disable 

If the notifications are coming up for each application, maybe disabling location access per application could be a workaround?

The below scripts would disable location for Google Maps 

afw_set_permission_grant_state com.google.android.apps.maps android.permission.ACCESS_FINE_LOCATION deny
afw_set_permission_grant_state com.google.android.apps.maps android.permission.ACCESS_COARSE_LOCATION deny
afw_set_permission_grant_state com.google.android.apps.maps com.google.android.gms.permission.CAR_SPEED deny


May be beneficial if a picture could be shared to see what's occurring.
RS
Rafael Schäfer
4 years ago

Hi Soti,

we really want to have location data collected (so the scripts are not a solution) but get rid of the notification that application XY is collecting location data (on every new app installed or updated).

We currently switched our setting:

  • Feature control: Switched from High Accuracy to user can configure
  • OEM App:  Location enabled (or high accuracy depends on the oem app if available)

Since then the message seem to be gone but still waiting for feedback from our users.

D
DRMOD@SOTI
4 years ago (edited 3 years ago)

Thanks for your answer. I have tested the 2 options in my device.

Option 1: Changing the “Location Accuracy”

Option 2: Disabling “Status Bar” and “All Keyguard Notification”

These can stop the Android System notification (Apps can access your location).

Apart from those options. I found that this issue is expected with the introduction of Android 11.

Since it is not a bug, a “Feature request ticket” was created with our Product Management team, so those notifications can be managed better, however, there is no timeline for availability, or guarantee of implementation. This all up to the discretion of the Product Managers and road map of the product.

If this is something that you would like to see implemented feel free to create a ticket and request a feature request with regards to this, and use the following number as reference of the other requests for the same, ( MC-132643 ).  If implemented you can verify the reference number in our release notes as well.

Similar Discussions