mediaplayer: Put back the set/release_window() API