SDK: state saving API

Registered by Zsombor Egri

Provide API that can be used to save state of an application.

Blueprint information

Status:
Complete
Approver:
Zoltan Balogh
Priority:
Undefined
Drafter:
Zsombor Egri
Direction:
Approved
Assignee:
Zsombor Egri
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Zsombor Egri
Completed by
Zsombor Egri

Whiteboard

StateSaver must save the state of the required properties only when the application is closed by the upstart when the device runs out of memory. In any other cases (normal shutdown) the states should be discarded.

States saved should be discarded when the device is shut down.

States saved should not be loaded when the application is launched using URI handling

(?)

Work Items

Work items:
[zsombi] redefine state saving behavior (bug 1276174): DONE
[zsombi] move state database to temp folder (bug 1276760): DONE
[zsombi] handle SIGTERM and SIGINT (bug 1259498): DONE

This blueprint contains Public information 
Everyone can see this information.