commit | a816b1d4b4a2ac49a3e31888a2bc99c7572eaf0d | [log] [tgz] |
---|---|---|
author | Steffen Meschkat <mesch@google.com> | Tue Dec 11 14:35:21 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Dec 13 05:25:58 2018 +0000 |
tree | 1401ddf81240f93eed062ac88462cbfc654dbf70 | |
parent | e188bd7cfc43e441b78739f25588c251026ad6fa [diff] |
[sessionmgr] Fix GetStoryInfo() crash. It is possible that StoryProvider::GetStoryInfo() returns a nullptr StoryInfoPtr, so we cannot unconditionally dereference it. TESTED=the test case added to session_shell_test in https://fuchsia-review.googlesource.com/c/peridot/+/232386 crashes without this fix; with it it passes. Change-Id: Id32623a8e4402a3e74578eabc8a66561be53b122
Peridot is a framework for composed, intelligent and distributed user experiences.
Applications not explicitly designed to interoperate (and possibly implemented in different programming languages) are ephemerally downloaded and dynamically composed to run in a shared context. The framework manages application lifecycle, resources and view hierarchy; and well as context and suggestion infrastructure.
State of Peridot experiences is transparently synchronized across user devices using a distributed offline-first storage system.