From wiki.ginstr.com
(Redirected from Category:Restore Mechanism)
Jump to: navigation, search

Restore mechanism

Restore mechanism is functionality in ginstr launcher used to restore the ginstr app to the last state after the unexpected app exit (app crash, force close the app, etc...)

To enable restore mechanism for specific app, a new commons.xml attribute should be used

<string name="restoreEnabled">true</string>

In case the restoreEnabled attribute is enabled, the restore mechanism will costantly save the ginstr app state. In case of the unexpected app exit, next time when the user enters the app, the app will offer the user a possibility to restore the app state.

To control the ginstr actions execution while the restore mechanism is in progress, the following action should be used

gn:act_isRestoreInProgress