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

Commit 13a2423b authored by Steve Kondik's avatar Steve Kondik
Browse files

Fix MVNO roaming setting, move to Secure.

Change-Id: I18eaab33ea94efa0efff88350f137072b4841d92
parent 305bf62f
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -2672,7 +2672,6 @@ public final class Settings {
        public static final String WIFI_WATCHDOG_PING_TIMEOUT_MS =
            Secure.WIFI_WATCHDOG_PING_TIMEOUT_MS;

        public static final String BUTTON_MVNO_ROAMING_KEY = "button_mvno_roaming_key";
    }

    /**
@@ -4149,6 +4148,12 @@ public final class Settings {
         */
        public static final String KILL_APP_LONGPRESS_BACK = "kill_app_on_longpress_back";

        /**
         * Virtual network roaming
         * @hide
         */
        public static final String MVNO_ROAMING = "button_mvno_roaming_key";

        /**
         * @hide
         */
+1 −1
Original line number Diff line number Diff line
@@ -1289,7 +1289,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker {

        boolean mvnoRoaming = Settings.System.getInt(
                phone.getContext().getContentResolver(),
                Settings.System.BUTTON_MVNO_ROAMING_KEY, 0) == 1;
                Settings.Secure.MVNO_ROAMING, 0) == 1;

        String spn;