OnePlus makes some of the most powerful Android devices at the moment. From OnePlus One to OnePlus 5T, the journey of OnePlus has been wonderful. Since the very beginning, OnePlus devices are known for their build quality. Their smartphones are also unique with the Alert Slider which you don't get anywhere else in other smartphone, even in Apple iPhone X. It is only due to these alert slider which makes it little bit unique from other flagship smartphones. But how good it would be, if your silder performs different functions other than justt chaging the smartphone profile from silent to vibrate and vibrate to general and so on. Here, is how you may do so.
There are always some sort of things which are required for these operations. The list as follows:
Your device must be rooted.
You must have Xposed Framework Installed on your device
Make a complete backup of your device before proceeding. Xposed is complicated stuff, know what you are doing.
This method has been tested on OxygenOS v4.7.6 and above with Android Oreo v8.0