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

Commit 7ca56d49 authored by Jacky Wang's avatar Jacky Wang
Browse files

[Catalyst] Avoid creating new KeyValueStore for AirplaneModePreference

NO_IFTTT=Catalyst only

Bug: 375925972
Flag: com.android.settings.flags.catalyst_network_provider_and_internet_screen
Test: atest
Change-Id: I1cffcc68358f36d36e14cde5997907816ebe08a4
parent dc1a52a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ class AirplaneModePreference :
        data: Intent?,
    ): Boolean {
        if (requestCode == REQUEST_CODE_EXIT_ECM && resultCode == Activity.RESULT_OK) {
            storage(context).setBoolean(KEY, true)
            context.getKeyValueStore(KEY)?.setBoolean(KEY, true)
        }
        return true
    }