Remove application launcher when its android counterpart is removed

This commit is contained in:
Simon Fels 2017-02-22 17:08:19 +01:00
commit 69631a1bfc
10 changed files with 131 additions and 22 deletions

View file

@ -88,6 +88,12 @@ void PlatformApiStub::update_application_list(const ApplicationListUpdate &updat
app->set_icon(a.icon.data(), a.icon.size());
}
for (const auto &package : update.removed_applications) {
auto app = event->add_removed_applications();
app->set_name("unknown");
app->set_package(package);
}
rpc_channel_->send_event(seq);
}