Suppose I have a device and it has a Power off window on a key press. User started an activity and the device will show the result of the activity as a popup when the activity is finished.
During the activity in progress, user presses the key and Power off window is displayed. When the activity ends, the result window will be displayed on top of Power off menu, which is un desirable.
Is there any mechanism to keep the Power off window on top of all the screens? If I try to present the result window, it should be displayed behind the Power off window