Cleanup launcher storage on first boot to sync back with the Android system
This commit is contained in:
parent
fc7049b27b
commit
c36d8768be
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
void PlatformApiSkeleton::handle_boot_finished_event(const anbox::protobuf::bridge::BootFinishedEvent &event) {
|
||||||
|
if (event.first_boot_done())
|
||||||
|
launcher_storage_->reset();
|
||||||
|
|
||||||
if (boot_finished_handler_)
|
if (boot_finished_handler_)
|
||||||
boot_finished_handler_();
|
boot_finished_handler_();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue