restorePendingRequest
Restores a pending request after process kill or app restart.
Use this method to restore the browser switch state when the app process is killed while the browser is open. This should be called in the Activity's onCreate() method and before calling completeRequest to ensure the pending request is properly restored.
The pendingRequest parameter is the string returned by getPendingRequest that was stored in persistent storage before the process was killed.
Parameters
pendingRequest
The Base64-encoded JSON string representing the pending request to restore
Throws
if the pending request cannot be parsed