Based on my requirement I need to show pop over call screen. I used broadcast receiver for getting call state. I'm successfully getting call state and I show pop up on native call screen.
I follow this procedure: In receiver on phone state I call a service for showing pop up by using window manager. It works fine.
After call is disconnected I call stop service. Inside I wrote windowmanager.removeView()
but my view is not removed from my screen.
So how to remove view from window manager? If you have any other way for this, please share it.