Fix import profile by AIDL
This commit is contained in:
parent
e083c3958d
commit
800ffe1819
1 changed files with 5 additions and 0 deletions
|
@ -2937,6 +2937,11 @@ public class SettingsHelper {
|
||||||
for (ExportSettingsType settingsType : settingsTypes) {
|
for (ExportSettingsType settingsType : settingsTypes) {
|
||||||
List<?> settingsDataObjects = additionalData.get(settingsType);
|
List<?> settingsDataObjects = additionalData.get(settingsType);
|
||||||
if (settingsDataObjects != null) {
|
if (settingsDataObjects != null) {
|
||||||
|
for (Object object : settingsDataObjects) {
|
||||||
|
if (object instanceof ApplicationModeBean) {
|
||||||
|
settingsItems.add(new ProfileSettingsItem(app, null, (ApplicationModeBean) object));
|
||||||
|
}
|
||||||
|
}
|
||||||
settingsItems.addAll(prepareAdditionalSettingsItems(new ArrayList<>(settingsDataObjects)));
|
settingsItems.addAll(prepareAdditionalSettingsItems(new ArrayList<>(settingsDataObjects)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue