How to modify status bar in Android Pie AOSP? I want to add some custom icons along with the existing icons like battery, network signal, etc. Also i want to know which files I have to edit to add and remove quick setting tiles programmatically.
- Thinking that there are no quick setting tiles by default, how do i add only wifi, bluetooth and gps quick setting tile programmatically??
- How to add expanded layouts for wifi and bluetooth settings in their respective tiles so that on click of the tile, i can show existing wifi networks and bluetooth devices??
- Where is the code for getting the list of wifi networks and bluetooth devices located?
- How do i implement a callback so that if i switch on wifi and connect to a network, the wifi icon in the status bar becomes visible?? How do i proceed if i want the same behaviour for a custom icon in the status bar??