setQuickPanelEditMode problem

Hey, I’m using the following command:

How ever, it does not seem to work. I can still freely add and remove icons from the status bar. Is it possible to prevent the user from performing any changes to the status bar?
(Blocking status bar or disabling settings changes are not optional)

Running on Android 11, Samsung Galaxy S20Fe

I think this is a Knox API class and I would suggest you create a support request. I think they can respond or direct you to where you can get a suitable reply. If this isn’t a Knox question can you clarify the use for me.

Samsung Developer Relations
Samsung Developer Relations