Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a45b36a authored by Sangyun Yun's avatar Sangyun Yun Committed by Android (Google) Code Review
Browse files

Merge changes from topic "revert-26793542-backup_and_restore_for_enable_2g-KLLVPOFIEQ" into main

* changes:
  Revert "Add feature flag for providers to support backup&restore..."
  Revert "Reload allowed networks from db after restore content."
parents caea62f8 65f42d07
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -81,14 +81,3 @@ flag {
  description: "Elevate NRI#getRejectCause from System to Public"
  bug: "239730435"
}

# OWNER=sangyun TARGET=24Q3
flag {
    name: "backup_and_restore_for_2g_setting"
    namespace: "telephony"
    description: "Support backup & restore for allow 2g (setting) option."
    bug:"314734614"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}
+0 −8
Original line number Diff line number Diff line
@@ -1565,10 +1565,6 @@ public class SubscriptionManagerService extends ISub.Stub {
                            SubscriptionManager.RESTORE_SIM_SPECIFIC_SETTINGS_DATABASE_UPDATED)) {
                        logl("Sim specific settings changed the database.");
                        mSubscriptionDatabaseManager.reloadDatabaseSync();
                        if (mFeatureFlags.backupAndRestoreFor2gSetting()) {
                            PhoneFactory.getPhone(phoneId)
                                    .loadAllowedNetworksFromSubscriptionDatabase();
                        }
                    }
                }

@@ -4152,10 +4148,6 @@ public class SubscriptionManagerService extends ISub.Stub {
                    SubscriptionManager.RESTORE_SIM_SPECIFIC_SETTINGS_DATABASE_UPDATED)) {
                logl("Sim specific settings changed the database.");
                mSubscriptionDatabaseManager.reloadDatabaseSync();
                if (mFeatureFlags.backupAndRestoreFor2gSetting()) {
                    Arrays.stream(PhoneFactory.getPhones())
                            .forEach(Phone::loadAllowedNetworksFromSubscriptionDatabase);
                }
            }
        } finally {
            Binder.restoreCallingIdentity(token);