mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-27 20:24:32 +01:00
Revamp restore decisions state and flesh out post registration restore options.
This commit is contained in:
committed by
Greyson Parrelli
parent
b78747fda2
commit
fe44789d88
@@ -536,3 +536,21 @@ message LocalRegistrationMetadata {
|
||||
string servicePassword = 16;
|
||||
bool reglockEnabled = 17;
|
||||
}
|
||||
|
||||
message RestoreDecisionState {
|
||||
enum State {
|
||||
START = 0;
|
||||
INTEND_TO_RESTORE = 1;
|
||||
NEW_ACCOUNT = 2;
|
||||
SKIPPED = 3;
|
||||
COMPLETED = 4;
|
||||
}
|
||||
|
||||
message IntendToRestoreData {
|
||||
bool hasOldDevice = 1;
|
||||
optional bool fromRemote = 2;
|
||||
}
|
||||
|
||||
State decisionState = 1;
|
||||
optional IntendToRestoreData intendToRestoreData = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user