Fixes #1924909. When restoring managed dialogs, do exactly the same thing as when showing a dialog.
Fixes #1924909. When restoring managed dialogs, do exactly the same thing as when showing a dialog.

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base