System crash when restoring Insular from Seedvault

  • This doesn't fall into the followings categories:

Summary

When restoring a work profile from Seedvault, if Insular is marked to be restored, it crashes the system

Steps to reproduce

  1. Back up work profile with Seedvault
  2. Restore it

What is the current bug behavior?

Crashes the system

What is the expected correct behavior?

Nothing happens

Relevant logs and/or screenshots

Environment information

Android version: Android 15 QPR2 Insular version: 6.4.2

Possible fixes

You can probably just disable backups and exclude all paths such that it doesn't store anything in the backup, therefore doesn't crash. e.g. https://github.com/element-hq/element-x-android/blob/develop/app/src/main/res/xml/data_extraction_rules.xml