I'm working on an SDK that is putting a popup view on the WindowManager using the TYPE_TOAST LayoutParams type. The last version of Android Nougat (7.1.1) made some change to the WindowManager (I don't know yet what change exactly - would be grateful if someone could elaborate) but this change causes all views that were added with the TYPE_TOAST type to be removed from the window after activity transition.
I can't add a request for any permissions, so I can't use the types that require the SYSTEM_ALERT_WINDOW permission.
Tried to add the view each time after the transition is made, but those views are removed almost as soon as I added them. (again I'm guessing because of some change that was made to the WindowManager)
So the question is: Does someone know of some alternative I can use to show the popup view as an overlay on the application for as long as the application is alive and on foreground?
 
    