mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Initial pass to properly check multi-device environment in various spots.
This commit is contained in:
@@ -544,10 +544,10 @@ class AccountValues internal constructor(store: KeyValueStore, context: Context)
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether or not the user has linked devices.
|
||||
* Whether or not the user is a multi-device account (has linked devices or is a linked device).
|
||||
*/
|
||||
@get:JvmName("hasLinkedDevices")
|
||||
var hasLinkedDevices by booleanValue(KEY_HAS_LINKED_DEVICES, false)
|
||||
@get:JvmName("isMultiDevice")
|
||||
var isMultiDevice by booleanValue(KEY_HAS_LINKED_DEVICES, false)
|
||||
|
||||
/** Do not alter. If you need to migrate more stuff, create a new method. */
|
||||
private fun migrateFromSharedPrefsV1(context: Context) {
|
||||
|
||||
Reference in New Issue
Block a user