Prevent restart

This commit is contained in:
M66B
2020-12-09 18:17:19 +01:00
parent 84c6e4e4ac
commit d39f70867f
2 changed files with 7 additions and 2 deletions

View File

@@ -965,8 +965,12 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
continue;
if ("language".equals(key))
continue; // language might not be supported
// Prevent restart
if ("secure".equals(key) ||
"shortcuts".equals(key) ||
"language".equals(key) ||
"query_threads".equals(key))
continue;
if (key != null && key.startsWith("widget."))
continue;