Cleanup launcher storage on first boot to sync back with the Android system

This commit is contained in:
Simon Fels 2017-02-22 17:39:59 +01:00
commit c36d8768be

View file

@ -63,6 +63,9 @@ void PlatformApiSkeleton::get_clipboard_data(anbox::protobuf::rpc::Void const *r
}
void PlatformApiSkeleton::handle_boot_finished_event(const anbox::protobuf::bridge::BootFinishedEvent &event) {
if (event.first_boot_done())
launcher_storage_->reset();
if (boot_finished_handler_)
boot_finished_handler_();
}