[Catalyst] Simplify KeyValueStore API calls
NO_IFTTT=Catalyst only Bug: 325144964 Flag: com.android.settings.flags.catalyst Test: atest Change-Id: I518b9c861eac6d515dfc7f0ac2d028f9395e06a1
This commit is contained in:
@@ -152,7 +152,7 @@ class AirplaneModePreference :
|
||||
data: Intent?,
|
||||
): Boolean {
|
||||
if (requestCode == REQUEST_CODE_EXIT_ECM && resultCode == Activity.RESULT_OK) {
|
||||
storage(context).setValue(KEY, Boolean::class.javaObjectType, true)
|
||||
storage(context).setBoolean(KEY, true)
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user