Tech Blog

Coding

Which ‘Quick Settings’ Tiles can you control using setQuickPanelItems() in a Samsung Android device

By Mahek pariawala2 min read
← Back to blog

What is a Quick Settings Tile?

Quick Settings Tiles are the individual items in the notification panel that represent several system settings such as Wifi and Bluetooth, which can be accessed at any time.

But what if you want to block these ‘Quick Settings’ Tiles on your device?

In Samsung devices secured by Knox Premium License, setQuickPanelItems() API allows you to control the tiles  that you want to  access in the Quick Settings Panel.You simply need to pass a List of all the tiles you want access for in the Quick Tiles Panel to this API, but what is not clearly stated in the documentation, is that not all the tiles will be controlled.
Suppose you use the API in such a way, as per the documentation

List<Integer> tilesList = new ArrayList<>();
CustomDeviceManager cdm = CustomDeviceManager.getInstance();
SystemManager kcsm = cdm.getSystemManager();
kcsm.setQuickPanelEditMode(CustomDeviceManager.ON);
kcsm.setQuickPanelItems(tilesList);

You would expect all the Quick Tiles to be disabled; since the List passed to setQuickPanelItems() is empty. But this is not the case, since the Knox API is only able to control certain tiles depending on the Knox version of the device. 
You can go digging around for each individual tile but I will just provide a list of tiles added in past Knox versions to save you some time and effort.

Note that these tiles will be visible on all Knox versions, but you will be able to control them using setQuickPanelItems() only from the specified Knox versions.

Above knox version 20 :

CustomDeviceManager.QUICK_PANEL_ALL_SHARE_CAST
CustomDeviceManager.QUICK_PANEL_BLUE_LIGHT_FILTER
CustomDeviceManager.QUICK_PANEL_ALWAYS_ON_DISPLAY
CustomDeviceManager.QUICK_PANEL_DEVICE_VISIBILITY

Above knox version 31 :

CustomDeviceManager.QUICK_PANEL_BATTERY_MODE
CustomDeviceManager.QUICK_PANEL_DEX_MODE
CustomDeviceManager.QUICK_PANEL_DOLBY
CustomDeviceManager.QUICK_PANEL_SECURE_FOLDER

Above knox version 32 :

CustomDeviceManager.QUICK_PANEL_DAILY_BOARD

On top of these tiles, there are few tiles that you won’t be able to control at all since there is no constant defined for it in CustomDeviceManager. This may vary from device to device.

Wifi Calling Ultra data saving
Scan QR Code Dark Mode
Screen Recorder Bedtime Mode
Nearby Share

Keep reading

You may be interested in

Browse all articles →
Active Directory Federation Service
July 5, 20235 min read

Active Directory Federation Service

Active Directory Federation Service (ADFS) uses claims-based identity model to maintain application security and to implement federated identity. ADFS is a concept of Windows Server operating system, that provides users with single sign-on access to the application, those are located across organizational boundaries. For Example: We have 2 organizations – Organization 1 and Organization 2. […]

By Abinash MishraRead More →
Remote Access to Microsoft SQL Database Server
April 5, 20232 min read

Remote Access to Microsoft SQL Database Server

Remote access to a SQL server is important because it allows users to access the server from anywhere, at any time. This enables remote workers to access the data they need when they need it, even if they are not physically in the same location as the server. It also allows IT admins to access […]

By Malkeet SinghRead More →
Types of Load Balancer in AWS
February 6, 20235 min read

Types of Load Balancer in AWS

What is Load Balancing ? Load balancing is a critical component of any scalable and highly available Cloud or On-premise architecture. It helps distribute incoming traffic across multiple servers, improving the availability and scalability of a website or application. In the cloud, load balancing is offered as a service by various cloud providers such as […]

By Keerthik ShenoyRead More →