[Android] show system bars when the game is paused

Godot Version

v4.2.1.stable.official [b09f793f5]

Question

i am making a game for Android.
for best user experience, i want to

  • hide status bar and navigation bar when the game is being played
  • show status bar and navigation bar when the game is paused

the first task is automatically solved because the system bars are always hidden. to solve the second task, i need to know how to toggle the system bars in GDScript.

minimum reproduction project

on Google Drive (7.0 MiB)

(will be moved to Forum once this is fixed)