Implement Qualcomm Sahara VIP and fix a few bugs

* Qualcomm Sahara VIP
* Project Cleanup
* Allow unlocking an already unlocked phone
This commit is contained in:
Gustave Monce
2021-08-11 14:33:49 +02:00
parent 9f4c92f437
commit c5fcb1ec8d
72 changed files with 987 additions and 861 deletions
+3 -3
View File
@@ -127,7 +127,7 @@ namespace WPinternals
Registry.CurrentUser.OpenSubKey("Software", true).CreateSubKey("WPInternals");
}
if ((Registration.IsPrerelease) && (Registry.CurrentUser.OpenSubKey("Software\\WPInternals").GetValue("NdaAccepted") == null))
if (Registration.IsPrerelease && (Registry.CurrentUser.OpenSubKey("Software\\WPInternals").GetValue("NdaAccepted") == null))
{
this.ContextViewModel = new DisclaimerAndNdaViewModel(Disclaimer_Accepted);
}
@@ -135,7 +135,7 @@ namespace WPinternals
{
this.ContextViewModel = new DisclaimerViewModel(Disclaimer_Accepted);
}
else if ((Registration.IsPrerelease) && !Registration.IsRegistered())
else if (Registration.IsPrerelease && !Registration.IsRegistered())
{
ContextViewModel = new RegistrationViewModel(Registration_Completed, Registration_Failed);
}
@@ -149,7 +149,7 @@ namespace WPinternals
{
ContextViewModel = null;
if ((Registration.IsPrerelease) && !Registration.IsRegistered())
if (Registration.IsPrerelease && !Registration.IsRegistered())
{
ContextViewModel = new RegistrationViewModel(Registration_Completed, Registration_Failed);
}